imap-archiver/README.md

737 B

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.

A very simple web viewer is provided to view your raw emails.

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.
  • Sync Gmail categories as folders.
  • In the viewer, format the raw email to something viewable.