aboutsummaryrefslogtreecommitdiff
path: root/.ai/scripts/cmail-action.py
Commit message (Collapse)AuthorAgeFilesLines
* feat(cmail): add --cc/--bcc and threading headers to cmail-action sendCraig Jennings2026-05-301-4/+28
| | | | cmail-action send couldn't do a proper reply (no Cc/Bcc, no In-Reply-To/References), so an org-drill session that needed to reply to an upstream maintainer hand-rolled a raw MIME message through msmtp instead. I extended build_message (the pure function) with cc, bcc, in_reply_to, and references, wired the matching --cc/--bcc (repeatable), --in-reply-to, and --references flags through cmd_send, and wrote the tests first. send_message derives recipients from the To/Cc/Bcc headers and strips Bcc, so no manual recipient list is needed.
* feat: Add cmail IMAP action script and test suiteCraig Jennings2026-05-081-0/+387
Add cmail-action.py for IMAP triage operations against Proton Mail Bridge (list-unread, read, mark-read, star, unstar, trash, send, folders) mirroring the Gmail MCP workflow. Also add comprehensive tests for cmail-action, gmail-fetch-attachments, and maildir-flag-manager scripts.