Draft (never sends)
{ "draftId": "...", "messageId": "...", "threadId": "..." }.
On Proton Mail, draftId is a mailbox:uid in Drafts.
Reply (never sends)
Re: subject, and threading headers (In-Reply-To / References) for you.
List drafts
draftId.
Send (gated)
Two modes. Send a draft:--cc, --html-file PATH (HTML part; --body is the plain-text fallback), --attach PATH (repeatable).
--attach cannot be combined with --draft. Attach when you create the draft.
Without --yes:
{ "messageId": "...", "threadId": "..." }.
Agent rule for send
- Show the human To, Cc, Subject, and full Body (and attachment names).
- Wait for a clear yes for this message.
- Only then run
mailkit send … --yes. - A “send the draft you made” from an earlier turn is not enough unless they confirm this payload.
send.