Implement email forwarder

Add core IMAP forwarding logic with time-based searches and Message-ID
deduplication to prevent duplicates in destination mailbox.

Changes:
- Implement SINCE-based email search using last_run.txt for incremental forwarding
- Add Message-ID extraction and IMAP checks for deduplication
- Configure systemd user services with drop-in overrides for portability
- Integrate Uptime Kuma pings for monitoring
- Set up virtual environment for dependency isolation
- Update documentation and configuration templates
This commit is contained in:
Jeena 2026-01-04 14:09:02 +09:00
commit 686c4877d3
9 changed files with 389 additions and 0 deletions

9
email_forwarder.timer Normal file
View file

@ -0,0 +1,9 @@
[Unit]
Description=Run Email Forwarder every 5 minutes
[Timer]
OnCalendar=*:0/5
Persistent=true
[Install]
WantedBy=timers.target