Create email template
create_email_templateSaves a reusable tracking email template with subject, HTML body, sender, and BCC, using placeholders for recipient, shipment, and tracking details in future label emails.
Instructions
Adds a tracking email template for the emails recipients get with their tracking link.
Saves a new tracking email template. Nothing is sent now: Pirate Ship uses the template when a label is bought with tracking emails on. html takes the placeholders [Recipient First Name], [Ship Date], [Shipping Service], [Recipient Address] and [Tracking #].
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>",
"sender_name": "<sender_name>",
"sender_email": "<sender_email>"
},
"name": "create_email_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | Yes | Body as HTML. Placeholders: [Recipient First Name], [Ship Date], [Shipping Service], [Recipient Address], [Tracking #]. | |
| name | Yes | Template name in Settings. | |
| default | No | Use it for new labels. | |
| subject | Yes | ||
| bcc_email | No | A copy of every email goes here. Empty for none. | |
| sender_name | Yes | ||
| sender_email | Yes | Reply-to address recipients see. |