2 Commits

Author SHA1 Message Date
8710dd9685 Switch to mailparser, UID watermarking, and 45s polling
- 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>
2026-03-18 03:35:40 +00:00
ebea4de978 Initial commit — IMAP IDLE mail-to-Claude bridge
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>
2026-03-16 23:31:31 +00:00