draft_email
Create a new email draft saved to the Drafts folder. Use this when composing an email to review or send later. The draft can be sent using send_draft. Plain text is automatically formatted with markdown. Optionally provide HTML for rich formatting.
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": {
"to": "<to>",
"subject": "<subject>",
"body_text": "<body_text>"
},
"name": "draft_email"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | CC recipient email addresses | |
| to | Yes | Recipient email addresses (e.g., ['user@example.com']) | |
| bcc | No | BCC recipient email addresses | |
| subject | Yes | Email subject line | |
| body_html | No | Optional HTML version for rich formatting | |
| body_text | Yes | Plain text email body. Supports markdown formatting |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| message | Yes | ||
| createdMessage | Yes |