tutao / tutanota

Tuta is an email service with a strong focus on security and privacy that lets you encrypt emails, contacts and calendar entries on all your devices.

Home Page:https://tuta.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Single click email export

mpfau opened this issue · comments

commented

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.

commented

Hello from the future 👋 just checking in on this

Seems to be implemented in the latest version.

grafik

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:

commented

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