Migrate Mails from Source IMAP Account to Destination IMAP Account
Find a file
2025-09-24 14:39:08 +02:00
.env.template removed examples 2025-09-24 14:39:08 +02:00
.gitignore Initial commit: Cross-platform email migration script 2025-09-24 00:08:31 +02:00
email_migration.py Add flexible authentication: email or username can be optional 2025-09-24 14:21:06 +02:00
README.md removed examples 2025-09-24 14:39:08 +02:00

Email Migration Script

A Python script to migrate emails from one IMAP account to another, preserving folder structure and metadata.

Quick Start

  1. Edit .env file with your email credentials
  2. Run: python3 email_migration.py

Requirements

  • Python 3.6+ (pre-installed on Linux & macOS)
  • No additional dependencies required

Configuration

Edit the .env file with your email account settings.

Important Notes

  • Use app passwords, not regular passwords
  • Test with a small folder first
  • Check email_migration.log for detailed logs