gauteh / lieer

Fast email-fetching and sending and two-way tag synchronization between notmuch and GMail
http://lieer.gaute.vetsj.com
Other
494 stars 60 forks source link

import mbox file from google takeout of gmail #274

Closed milahu closed 1 month ago

milahu commented 4 months ago

i want to move my emails from gmail servers to my local machine so i use "google takeout" to export all my emails to a 5GB mbox file

how can i import that mbox file to lieer?

https://notmuchmail.org/getting-started/#index5h2

Converting Existing mbox to Maildir The [mb2md](http://batleth.sapienti-sat.org/projects/mb2md/) tool can be used to convert existing mbox files to Maildir. Beware that the source and destination directory options to mb2md are relative to the user's home directory, not relative to the current working directory.

will this "just work"? or does google produce weird mbox files...?

similar issues in similar projects

gauteh commented 1 month ago

Hi,

Currently unlikely to work. Files must have special name to match google id. And lieer still needs to download metadata list of all mail.

Gaute