Skip to content
AgentMail
AgentMail

Create Draft

POST/v0/inboxes/{inbox_id}/drafts

Create a draft. Supply in_reply_to to create a reply draft (with reply_all to address the whole thread), whose recipients, subject, and threading are derived from the referenced message, or forward_of to create a forward draft, which derives the subject, threading, and forwarded content from the source but keeps recipients caller-supplied. **CLI:** ``bash agentmail inboxes drafts create --inbox-id <inbox_id> --to [email protected] --subject "Draft subject" --text "Draft body"