Go to file
2025-02-09 13:20:51 +01:00
.env_template Initial commit 2025-02-09 12:48:10 +01:00
.gitignore Initial commit 2025-02-09 13:20:51 +01:00
config.json Initial commit 2025-02-09 12:01:47 +01:00
LICENSE Initial commit 2025-02-09 11:54:58 +01:00
migrate.py Initial commit 2025-02-09 12:01:47 +01:00
README.md Initial commit 2025-02-09 12:01:47 +01:00

Installation

pip install tqdm

Copy .env_template to .env and fill out your credentials for source and destination IMAP server

Check config.json for the right mapping.

Run

The following command runs a simulation, logging into both servers, checking the number of emails and total data volume to be migrated. Highly recommended to run the script first in simulation mode.

python migrate.py --simulate

If everything looks fine, run: python migrate.py

Be aware: for larger mailboxes this might run hours.