create_template
Create reusable email templates with dynamic variables for consistent transactional email campaigns in GetMailer.
Instructions
Create a new email template
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": {
"name": "<name>",
"subject": "<subject>",
"html": "<html>"
},
"name": "create_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Template name | |
| subject | Yes | Email subject (can include {{variables}}) | |
| html | Yes | HTML content (can include {{variables}}) | |
| text | No | Plain text content (optional) |