send_message
Send an email with plain text or HTML body and optional local file attachments; recipient allowlist and confirmation checks control delivery.
Instructions
Send an email. Plain text by default; set html=true to send the body as HTML. attachments is a list of local file paths to attach, e.g. a file you just fetched with drive_download. A send is refused if a recipient is not on the allowlist (see email_policy_status / email_allow). When the confirm-before-sending rule is on, the first call sends nothing and returns a confirmation request; call again with confirm=true once the person has approved.
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": "<body>"
},
"name": "send_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ||
| body | Yes | ||
| html | No | ||
| confirm | No | ||
| subject | Yes | ||
| attachments | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |