App/container to backup emails from gmail reddit / selfhosted ---------------------------------------------------------------------- jagdeepmarahar · 2023-12-13 11:15 Is there any app or docker container to backup my emails from my gmail account to my home server? ---------------------------------------------------------------------- arcadianarcadian · 2023-12-13 11:23 You can use imapsync. It is very easy to use. [https://imapsync.lamiral.info/](https://imapsync.lamiral.info/) ​ ./imapsync \ --host1 server1.fqdn --user1 test1 --password1 "secret1" \ --host2 server2.fqdn --user2 test2 --password2 "secret2" ---------------------------------------------------------------------- jagdeepmarahar · 2023-12-13 11:34 Thanks, it looks promising. I'll will try it this weekend. ---------------------------------------------------------------------- kring1 · 2023-12-13 11:44 I use [offlineimap](https://github.com/OfflineIMAP/offlineimap) for that. The python 3 version doesn't work for me but this old version (the one I linked) works and even syncs the Gmail label. ---------------------------------------------------------------------- worryboy007 · 2023-12-13 12:15 I’m a fan of imapsync :) but if you looking more for a backup solution, also to cleanup your mail account have a look on https://www.mailstore.com/en/products/mailstore-home/ (free app) .. ---------------------------------------------------------------------- rubenix_bcn · 2023-12-13 12:43 not in a container but I use [this](https://github.com/GAM-team/got- your-back) ---------------------------------------------------------------------- coffeeincardboard · 2023-12-13 22:57 Do any of these allow you to extra any attachments and save them in a folder? I think I have a of random email pictures and i want to clean out my Gmail.