send_as
Send email from a Gmail sendAs alias with from, to, subject, and plain-text or HTML body. Optional cc/bcc supported. Returns message ID and thread ID.
Instructions
Send mail From a Workspace sendAs alias via users.messages.send (RFC2822 MIME raw, base64url). Required: from (alias email), to, subject, and body text and/or html. Optional: cc, bcc. Returns message id (and threadId) only — never tokens.
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": {
"from": "<from>",
"to": "<to>",
"subject": "<subject>"
},
"name": "send_as"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | ||
| to | Yes | Recipient email(s), comma-separated | |
| bcc | No | ||
| body | No | Plain-text body | |
| from | Yes | sendAs alias email; written to the From header | |
| html | No | HTML body (with or instead of body) | |
| subject | Yes |