5 Commits

Author SHA1 Message Date
Simon Zeyer
f64879398f Add sleep delay in run function to prevent tight loop execution 2025-06-16 21:22:55 +00:00
Simon Zeyer
3e33de4606 Fix flag setting method in IMAP message handling 2025-06-09 12:01:03 +00:00
Simon Zeyer
2b331fbd1f Remove redundant idle check logic for existing messages in IMAP connection 2025-06-09 11:37:44 +00:00
Simon Zeyer
b528b0a748 Refactor idle check logic in IMAP connection to improve message handling 2025-06-09 11:12:18 +00:00
Simon Zeyer
5127caed03 Add IMAP support and refactor environment configuration
- Introduced `imap_connect.py` for handling IMAP email interactions.
- Created `run.py` to manage execution based on the selected mode (IMAP or EWS).
- Updated Dockerfile and .env.dev to include necessary environment variables.
- Enhanced logging and email processing in `exchange_connect.py`.
- Added `weasyprint` and `imapclient` to requirements.
2025-06-09 10:53:08 +00:00