Archive the content on your email account.
Go to file
Cyberes cfacb77777 fix timestamp issues 2024-03-06 11:51:22 -07:00
iarchiver fix timestamp issues 2024-03-06 11:51:22 -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 remove parent/child folder layout, make work with gmail, fix issues 2024-03-06 11:36:43 -07:00
config.yml.sample remove parent/child folder layout, make work with gmail, fix issues 2024-03-06 11:36:43 -07:00
imaparchiver.service add code 2024-03-05 23:57:38 -07:00
main.py rename to main.py 2024-03-06 11:36:56 -07:00
requirements.txt add code 2024-03-05 23:57:38 -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.
  • Sync Gmail categories as folders.