Home / intents
Create email draft
org.intentschema.communication.email.draft.create.v1
JSON: bare · @sha256:2d058a74b000… Hash: sha256:2d058a74b000de54383ace82e372624389fb442ba0ef3e519c059b503c90e11d
Creates an email draft without sending. Treated as a first-class resource alongside email.message (mirrors Gmail's drafts API and JMAP's $draft keyword). Useful for agent-authored drafts awaiting user review.
Payload
Field Type Description
target * Target
object * object
idempotency_keystring
object
Field Type Description
fromstring (email) []
tostring (email) []
ccstring (email) []
bccstring (email) []
subjectstring
textBodystring
htmlBodystring
attachmentsBlobRef[]
inReplyTostringOptional message id this draft is in reply to.
Result
Field Type Description
external_id * stringProvider draft id.
created_atstring (date-time)
Examples
save a draft reply
{
"target": {
"system": "gmail"
},
"object": {
"to": [
"jane@example.com"
],
"subject": "Re: Checking in",
"textBody": "Let me think and get back to you.",
"inReplyTo": "msg_abc123"
}
}
Profiles