Send test email
send_test_emailSend a test of an email to the user's own inbox, so they see the real thing before anyone else gets it. Merge tags use contact_id's values when it is set. Test emails are never tracked and have a tighter rate limit. Send it only to an address the user gave you as theirs.
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": {
"project_id": "<project_id>",
"to": "<to>",
"subject": "<subject>",
"preview_text": "<preview_text>",
"html": "<html>",
"markdown": "<markdown>",
"template_id": "<template_id>",
"contact_id": "<contact_id>"
},
"name": "send_test_email"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | The user's own address. | |
| html | Yes | The body as HTML. Null when you send markdown or a template_id. | |
| subject | Yes | ||
| markdown | Yes | The body as markdown. Null when you send html or a template_id. | |
| contact_id | Yes | Fill merge tags from this contact; null leaves them as their fallbacks. | |
| project_id | Yes | ||
| template_id | Yes | Copy a template's subject, preview text and body; then subject, preview_text, html and markdown are null. | |
| preview_text | Yes | The line inbox previews show after the subject. |