Update Draft
patch_agentmail_inbox_draftRewrites an unsent draft's recipients, subject, body or attachments and returns the full draft after the change. Still sends nothing — post_agentmail_inbox_draft_send does that. Writes to the shared AgentMail workspace: Every AIsa caller shares one AgentMail account, so this reaches inboxes other callers created, and what you write here is visible and editable by the next caller.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | Addresses of CC recipients. In format `username@domain.com` or `Display Name <username@domain.com>`. | |
| to | No | Addresses of recipients. In format `username@domain.com` or `Display Name <username@domain.com>`. | |
| bcc | No | Addresses of BCC recipients. In format `username@domain.com` or `Display Name <username@domain.com>`. | |
| html | No | HTML body of draft. | |
| text | No | Plain text body of draft. | |
| send_at | No | Time at which to schedule send draft. | |
| subject | No | Subject of draft. | |
| draft_id | Yes | ID of draft. | |
| inbox_id | Yes | The ID of the inbox. | |
| reply_to | No | Reply-to addresses. In format `username@domain.com` or `Display Name <username@domain.com>`. | |
| Authorization | Yes | Bearer authentication |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||