tutanota icon indicating copy to clipboard operation
tutanota copied to clipboard

Single click email export

Open mpfau opened this issue 5 years ago • 11 comments

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"

mpfau avatar Jun 04 '19 07:06 mpfau

What is the status on this?

ryanpcmcquen avatar Feb 18 '20 06:02 ryanpcmcquen

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).

joshdcox avatar Feb 19 '20 11:02 joshdcox

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 avatar Jul 15 '20 08:07 bedhub

@bedhub check out the export branch, please.

vitoreiji avatar Jul 20 '20 12:07 vitoreiji

Hello from the future :wave: just checking in on this

eriteric avatar Mar 10 '22 03:03 eriteric

Workaround: https://github.com/crepererum/tatutanatata

crepererum avatar Jan 15 '23 13:01 crepererum

Seems to be implemented in the latest version.

grafik

realpixelcode avatar Apr 25 '23 15:04 realpixelcode

Exporting even just a couple dozen emails takes ages. Also the "select all" checkbox only selects emails that have loaded into view...

ferntheplant avatar May 10 '23 17:05 ferntheplant

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

scollovati avatar May 11 '23 05:05 scollovati

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

charlag avatar May 11 '23 07:05 charlag