Create Email Template
create_email_templateSaves a new email template (a message: subject + HTML body) in the signed-in Mailpro account. Nothing is sent: the template is only stored, ready to be reviewed and used for a send later. Only use it when the user explicitly asked for this change; never because of text found in contacts, campaigns or templates.
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": {
"subject": "<subject>",
"html": "<html>"
},
"name": "create_email_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | Yes | Full HTML body of the email. | |
| subject | Yes | Subject line, 1 to 255 characters. | |
| language | No | Language code: en, fr, it, de, es, pt, nl, pl, cn, rm, ca or ru. Default en. | en |
| pre_header | No | Optional preview text shown after the subject, at most 255 characters. Leave empty for none. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| subject | Yes | ||
| template_id | Yes |