Send e-mail
send_messageSends an e-mail from a GhosterMail mailbox. Optionally schedules it for later delivery.
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": {
"accountId": "<accountId>",
"to": "<to>",
"body": "<body>"
},
"name": "send_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | Optional CC addresses. | |
| to | Yes | Recipient addresses. | |
| bcc | No | Optional BCC addresses. | |
| body | Yes | Message body. Plain text by default; set 'isHtml' to true for HTML. | |
| isHtml | No | Whether 'body' is HTML. Default: false. | |
| sendAt | No | Optional delivery time (ISO 8601 with time zone, e.g. 2026-11-01T09:00:00Z), up to 65 days ahead. | |
| subject | No | Subject. | |
| accountId | Yes | Id of the sender mailbox (see 'list_accounts'). |