Templates
CRUD tools for managing reusable email templates. Templates support Mustache syntax for dynamic content in both subject lines and bodies.createEmailTemplate
Create a new email template with name (max 200 chars), subject (max 1000 chars), body (max 50000 chars), and optional variables. Templates support Mustache syntax for dynamic content. Permission:emailTemplates:write
Parameters:
Returns: The created email template object.
getEmailTemplate
Get a specific email template by ID, including all template details. Permission:emailTemplates:read
Parameters:
Returns: The email template object, or
null if not found.
listEmailTemplates
List email templates for the organization with pagination. Supports filtering by status and name. Permission:emailTemplates:read
Parameters:
Returns:
updateEmailTemplate
Update an existing email template with new values for any template fields. Name max 200 chars, subject max 1000 chars, body max 50000 chars. Permission:emailTemplates:write
Parameters:
Returns: The updated email template object.
deleteEmailTemplate
Delete an email template (soft delete). Permission:emailTemplates:delete
Parameters:
Returns: The deleted email template object.
Render & Send
Tools for rendering templates with variable data and dispatching templated emails through the organization’s email pipeline.renderEmailTemplate
Render an email template by ID with provided data variables using Mustache templating. Returns the rendered subject and the raw rendered body — the delivered email (seesendTemplatedEmail) additionally sanitizes the body
(unsafe markup removed) and wraps it in a standard email layout.
Permission: emailTemplates:read
Parameters:
Returns: Object with
subject and body strings containing the rendered
content.
sendTemplatedEmail
Render an email template with data and send it. Fetches the template, renders subject and body with the provided data, sanitizes the body (scripts, event handlers, and other unsafe markup are removed), wraps it in a standard email-client-compatible layout, auto-generates a plain-text alternative, and sends the email from the specified email address. Permission:emailTemplates:write
Parameters:
Returns: Object with
subject, to, from, rendered, and sent fields
summarizing the send result.
Next Steps
Email Address Tools
Discover which email addresses are available to send from
Authentication
Learn how MCP clients authenticate to the server