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
This commit is contained in:
commit
bd54ae469b
4 changed files with 394 additions and 0 deletions
20
README.md
Normal file
20
README.md
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
# 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue