Commit Graph

2 Commits

Author SHA1 Message Date
James d62b62bb89 fix: handle imapclient named tuple format for ENVELOPE and Address
- parse_envelope now handles Envelope named tuple (imapclient format)
- parse_address now handles Address named tuple
- date field preserved as datetime object, not stringified
- Add .venv and __pycache__ to .gitignore
2026-01-31 09:00:36 +00:00
James 5d9e58f5ae Initial mail-agent implementation
Full IMAP-based email triage system with multi-tier escalation.

Components:
- IMAP client with IDLE push notifications
- Email parsing with RFC 2047 header decoding
- FastAPI REST API (accounts, messages, SSE events)
- Triage pipeline (L1/L2/L3) with configurable rules
- Shipping dashboard integration
- Unsubscribe link detection

Pre-configured for Proton Bridge (tj@jongsma.me).
2026-01-31 01:09:00 +00:00