send
Deliver a new email message through Gmail with optional CC, HTML body, attachments, and verified from-identity; returns proof payload.
Instructions
Send new mail. Attachments are outbox file paths only. Returns proof payload.
from_identity: optional verified send-as address (see identities_list). Sets From with its display name and Reply-To. Empty = the account address itself.
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": {
"account": "<account>",
"to": "<to>",
"subject": "<subject>",
"idempotency_key": "<idempotency_key>"
},
"name": "send"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | ||
| to | Yes | ||
| body | No | ||
| footer | No | ||
| account | Yes | ||
| subject | Yes | ||
| html_body | No | ||
| from_identity | No | ||
| idempotency_key | Yes | ||
| attachments_json | No | [] |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |