- Replace hand-rolled MIME parsing with mailparser's simpleParser
- Use HTML body in prompts for better encoding/structure fidelity
- Replace IMAP IDLE (unreliable on Loopia) with 45s polling loop
- Track highest UID on startup; only fetch uid > last_uid each poll
to avoid re-transferring old messages
- Add node: prefix to built-in imports
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Polls a dedicated mailbox via IMAP IDLE for push notifications,
filters by allowed sender, and dispatches messages as prompts
to Claude Code via claude-remote.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>