Send mail
send_mailWrites a new email for the person to approve. It waits in Coline until they send it there; the person sees it here as it will go out. Use it only when they clearly want the email sent.
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": {
"workspace": "<workspace>",
"accountId": "<accountId>",
"subject": "<subject>",
"to": "<to>",
"body": "<body>"
},
"name": "send_mail"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | ||
| to | Yes | Comma-separated addresses. | |
| bcc | No | ||
| body | Yes | Plain text. | |
| subject | Yes | ||
| accountId | Yes | From list_mailboxes. | |
| workspace | Yes | Workspace slug from workspaces.list, e.g. "acme". | |
| fromAddressId | No | A sendAs address from list_mailboxes, for that exact sender. | |
| clientRequestId | No | A stable id for this message; reuse it on a retry so it isn't held twice. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ||
| from | Yes | ||
| state | Yes | ||
| sendId | Yes | ||
| status | Yes | ||
| message | Yes | Never say the mail was sent unless status is sent. | |
| subject | Yes | ||
| approvalUrl | Yes |