Skip to content

crepererum-oss/tatutanatata

Repository files navigation

Tatutanatata

CLI (Command Line Interface) for Tutanota, mostly meant for mass export.

This is NOT an official project of Tutanota!

Exporting your emails to your local systems strips any encryption. Please make sure that your device is sufficiently secured and encrypted and that you store your exported emails in a safe environment!

This only supports exporting emails that are already assigned to folders. This will NOT process new incoming emails. Use the official client to do that!

Why

Tutanota simple does NOT support single-click export of your emails (see issue1292). This is bad because their data format is proprietary (someone could argue that this even violets the GDPR). Now even if you are a happy customer of theirs1, you may want to export your email for the following reasons:

  • Vendor Lock-in: You may want to move to a different service for various reasons.
  • Cost Savings: You may not want to store your entire email archive at their servers and pay for it, even when you rarely touch the mails. Some situations (e.g. legal reasons) may require you to store your data for a long time.
  • Single Point of Failure: Tutanota is only a rather small company and definitely not "too big to fail".
  • Faster Archive Search: Searching through your email archive with their official app can be rather slow and painful.
  • Raw Mails: You may want/need to inspect the raw email data, e.g. when receiving content that is encrypted/signed via S/MIME, PGP, or autocrypt. Also see standards used by Delta Chat.

Usage

There are no pre-built binaries (yet). So you need Rust to be installed. Clone Tatutanatata:

$ git clone https://github.com/crepererum/tatutanatata.git
$ cd tatutanatata

Then create an .env file with your credentials:

TUTANOTA_CLI_USERNAME=fooooooo@tutanota.de
TUTANOTA_CLI_PASSWORD=my_secret_password

First list your folders:

$ cargo run --release -- list-folders
...
Inbox
Draft
MyFolder
AnotherFolder

Then pick one to export:

$ cargo run --release -- -v export --folder MyFolder

You should now find all EML files in ./out. You can use them in about any Email program of your choice, e.g. Thunderbird paired with ImportExportTools NG.

Known Limitation / Issues

Have a look at our issue tracker. Pull requests are welcome.

License

Licensed under either of these:

Contributing

Unless you explicitly state otherwise, any contribution you intentionally submit for inclusion in the work, as defined in the Apache-2.0 license, shall be dual-licensed as above, without any additional terms or conditions.

Footnotes

  1. I (crepererum) am for most parts a happy customer of theirs. It just annoys me that such an essential feature is not implemented and that I am often in the situation searching through my email archive and have to wait forever for their app to perform this rather essential task.

About

UNOFFICIAL mass-exporter for https://tuta.com/

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Contributors 4

  •  
  •  
  •  
  •  

Languages