Send Template Draft Test Email
send_template_draft_test_emailEnqueue one test email from a draft template (by token) as custom content — not linked to a saved template name.
Rendered subject and body come from the draft; only the given recipient receives the message (template To:/groups ignored for delivery). Consent rules match other enqueue tools: sends immediately if consent is already granted; otherwise it queues and is sent on the next tool call that refreshes consent state after consent is granted.
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": {
"TemplateToken": "<TemplateToken>",
"TemplateData": "<TemplateData>",
"Recipient": "<Recipient>"
},
"name": "send_template_draft_test_email"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Recipient | Yes | Single test recipient address. Overrides any To: line in the template. | |
| TemplateData | Yes | Data to populate template variables. | |
| TemplateToken | Yes | Template token from 'create_template_draft' or 'get_template'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Result | Yes | Result of the operation. |