Edit Email Draft
update_draftEdit an unsent email draft by changing only the subject, body, or recipients you provide, then send it with send_draft. Rejects messages that are not drafts.
Instructions
Edit an unsent draft: its subject, body or recipients. Only fields you pass change. Refuses any message that is not a draft. Send it afterward with send_draft.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"message_id": "<message_id>"
},
"name": "update_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | Comma-separated email addresses; replaces the current CC list. Empty string clears it | |
| to | No | Comma-separated email addresses; replaces the current To list. Empty string clears it | |
| bcc | No | Comma-separated email addresses; replaces the current BCC list. Empty string clears it | |
| body | No | New body; replaces the whole body, including any quoted history | |
| mailbox | No | Email address of another mailbox to act on (delegated or shared), e.g. 'someone@example.com'. Omit for your own mailbox; required when this server signs in as an application. Only addresses this server is configured to allow will be accepted. | |
| subject | No | New subject | |
| message_id | Yes | The draft's message ID | |
| content_type | No | Body content type: Text or HTML (default: Text) |