Initial commit: IMAP email downloader

Single-file Python script to download emails from IMAP servers:
- Downloads emails as .eml files preserving folder structure
- Extracts attachments to zip files
- Supports SSL and STARTTLS connections
- Incremental updates using UID tracking (default behavior)
- Multi-account support with separate folders per email
- Safety checks to prevent duplicate downloads

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-01-29 17:37:11 +00:00
commit a0e7a494e4
5 changed files with 660 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
# Python
__pycache__/
*.py[cod]
.venv/
venv/
# Downloads
download/