email_migration/README.md
Elmar bd54ae469b Initial commit: Cross-platform email migration script
- Add Python script for IMAP-to-IMAP email migration
- Support for preserving folder structure, flags, and dates
- Configurable via environment variables (.env file)
- Batch processing with progress reporting and error handling
- SSL/TLS support for secure connections
- Folder filtering capabilities (include/exclude)
- Comprehensive logging system
- Works natively on Linux and macOS without dependencies
- Include .env.template for easy setup
- Add comprehensive README with setup instructions
2025-09-24 00:08:31 +02:00

549 B

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