tutanota
tutanota copied to clipboard
Single click email export
As a user i want to be able to export all the emails in my mailbox at once so that i don't have to go through each folder and select the emails.
Acceptance criteria
- Action to start export of complete mailbox is available from the desktop client
- The user must choose a directory of the file system to store the exported data in.
- Export contains mails and attachments
- Folder structure is preserved
- Exported emails are stored in plain text (eml) format on the user's device
- Export is rate limited (maybe once a week)
- Admin users should be able to export emails for their users.
- Export use regular entity request to download and decrypt emails.
- Amount of REST request should be reduced by making use of range request for LET and , loadMultiple for ET
- State of the export is tracked, so that the export continues if the client process stops.
- The status of the export is visible.
- If an export is active is should resume automatically next time the user logs into the client
Implementation hints
We already did some research on this topic and notes were taken in the Wiki how export is done by other providers. Information can be found under "Development > Tutanota > Compatibility"
What is the status on this?
Offline MBOX import/export would be a great feature addition that allows users to more easily migrate to Tutanota, back up their mail, and have comfort in their ability to leave with their mail even if they can't access Tutanota servers (due to events like this or this or this).
Some thoughts what needs to be clarified for the implementation:
- [ ] check which export formats can be used and can also be used larger mailboxes.
- [ ] check which formats are supported by other mail providers.
- [ ] check how to export data for all users of an account.
- [ ] check how to preserver folder structure
- [ ] define rate limits for exporting whole mailbox (maybe once a week)
@bedhub check out the export
branch, please.
Hello from the future :wave: just checking in on this
Workaround: https://github.com/crepererum/tatutanatata
Seems to be implemented in the latest version.
Exporting even just a couple dozen emails takes ages. Also the "select all" checkbox only selects emails that have loaded into view...
Tutanota could implement an IMAP bridge like the one that Proton has done. Furthermore, Proton made the underlying library open source:
- https://github.com/ProtonMail/gluon
- https://proton.me/blog/gluon-imap-library
Exporting even just a couple dozen emails takes ages. Also the "select all" checkbox only selects emails that have loaded into view...
there's a "load all" button for this.
This issue is not about selecting things or about IMAP bridges, this is about bulk export, please refer to "Discussions" for unrelated topics