Create Saved Draft
qubrics_mailbox_create_draftCreate and save an email draft for review instead of sending it, supporting replies, forwards, adopted drafts, custom content, and attachments.
Instructions
Save a message for review without sending it. Requires mailbox.read and mailbox.drafts.write. Use source.action for reply, reply_all, forward or adopt; explicit content overrides prepared defaults. Adoption requires Idempotency-Key; reuse it when retrying the same create request.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | Visible copied recipients. | |
| to | No | Primary recipients; at most 50 total across To, Cc and Bcc. | |
| bcc | No | Hidden copied recipients. | |
| from | No | Authorised sender; defaults to this inbox. | |
| source | No | Source for this draft. Adoption requires Idempotency-Key. Explicit content fields override prepared defaults. | |
| subject | No | Subject; may be empty. | |
| reply_to | No | Authorised reply addresses; defaults to this inbox. | |
| html_body | No | HTML body, preserved when saved. | |
| text_body | No | Plain-text body. | |
| mailbox_id | No | Mailbox public ID to target when the credential grants access to more than one mailbox. Omit when the credential is scoped to exactly one mailbox. | |
| attachments | No | Attachments and inline images. | |
| custom_headers | No | Custom X-* headers. Writes reject X-SES-TENANT, X-SES-CONFIGURATION-SET and X-SES-MESSAGE-TAGS case-insensitively. On updates, omit this field to preserve saved headers, or pass {} to clear them. | |
| Idempotency-Key | No | Reuse this key when retrying the same create request. | |
| reply_to_message_id | No | Message in this inbox to reply to; thread headers are snapshotted. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |