Add complete POP3 to Gmail forwarder implementation

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-02-01 12:14:05 +00:00
parent 124a118d95
commit aa9be83758
10 changed files with 1229 additions and 2 deletions
+39
View File
@@ -0,0 +1,39 @@
# POP3 Configuration (supports multiple accounts)
# Format: POP3_ACCOUNT_N where N is 1,2,3...
POP3_ACCOUNT_1_HOST=pop.example.com
POP3_ACCOUNT_1_PORT=995
POP3_ACCOUNT_1_USER=user@example.com
POP3_ACCOUNT_1_PASSWORD=your_password
POP3_ACCOUNT_1_USE_SSL=true
# Add more accounts as needed
# POP3_ACCOUNT_2_HOST=pop.another.com
# POP3_ACCOUNT_2_PORT=995
# POP3_ACCOUNT_2_USER=user@another.com
# POP3_ACCOUNT_2_PASSWORD=another_password
# POP3_ACCOUNT_2_USE_SSL=true
# Gmail/SMTP Configuration
SMTP_HOST=smtp.gmail.com
SMTP_PORT=587
SMTP_USER=your-email@gmail.com
SMTP_PASSWORD=your-app-password
SMTP_USE_TLS=true
# Gmail destination
GMAIL_DESTINATION=your-email@gmail.com
# Postmarkapp for Error Notifications
POSTMARK_API_TOKEN=your-postmark-api-token
POSTMARK_FROM_EMAIL=errors@yourdomain.com
POSTMARK_TO_EMAIL=admin@yourdomain.com
# Scheduling
CHECK_INTERVAL_MINUTES=5
MAX_EMAILS_PER_RUN=50
# Throttling (emails per minute)
THROTTLE_EMAILS_PER_MINUTE=10
# Logging
LOG_LEVEL=INFO