Archive the content on your email account.
Go to file
Cyberes 5870303c74 add more info to sync history 2024-03-06 00:18:41 -07:00
iarchiver add more info to sync history 2024-03-06 00:18:41 -07:00
.gitignore add code 2024-03-05 23:57:38 -07:00
LICENSE Initial commit 2024-03-05 19:54:06 -07:00
README.md detect timeout? 2024-03-06 00:04:11 -07:00
config.yml.sample add code 2024-03-05 23:57:38 -07:00
imaparchiver.service add code 2024-03-05 23:57:38 -07:00
requirements.txt add code 2024-03-05 23:57:38 -07:00
run.py add more info to sync history 2024-03-06 00:18:41 -07:00

README.md

imap-archiver

Archive the content on your email account.

A very simple way to sync your email account with the goal of backing up all your emails.

Saves attachments to disk and stores the emails in an SQLite database.

No viewer yet, but the database is organized to do so. Does not support different accounts.

Install

  1. Create a venv
  2. pip install -r requirements.txt
  3. cp config.yml.sample config.yml
  4. Edit config.yml and configure your login info.
  5. python3 run.py

A sample systemd service file is included.

To Do

  • Fix subject decoding. Some character sets aren't detected correctly.