GAM-team / got-your-back

Got Your Back (GYB) is a command line tool for backing up your Gmail messages to your computer using Gmail's API over HTTPS.
https://github.com/GAM-team/got-your-back/wiki
Apache License 2.0
2.65k stars 212 forks source link

[Feature Request] Backup to MBOX format #245

Open 0x3333 opened 4 years ago

0x3333 commented 4 years ago

It would be very nice if the backup could be done in MBOX format. The file could be used in a Dovecot server to access messages locally.

mathi-ryte commented 4 years ago

Do I understand correctly that gyb export is gyb specific backup in form of a sqlite database and not convertable or usable other than with gyb?

Awesome tool btw! <3

jay0lee commented 3 years ago

We can keep this around as a FR but it's NOT high priority for me since Google Takeout and Google Vault already allow mailbox data to be exported to mbox.

AvrumFeldman commented 2 years ago

@jay0lee correct that google offers Google takeout, but this solution is by far superiors for email export, as far as I know there is no automated way to automate the export nor batch them, so adding export to mbox/pst would be an amazing way to get that capability.

ToxicFrog commented 1 year ago

This is also something relevant to me, since my main goal in using GYB wouldn't be restoring to gmail, but having an offline copy I can restore to something else when Google eventually gets bored of gmail (or google-apps-for-your-domain) and turns it off.

I don't think this necessarily needs to be a builtin feature, though; an external tool that converts gyb's format to mbox or maildir would also suffice.