Skip to content

Preview Email Template

Tool name: preview-email-editor-template

Previews a full catalogue email design, rather than its thumbnail, in an MCP App. Use the template ID from search-email-editor-templates, not its result number. Returns contentHtml when MCP Apps are unavailable. Changes no email and sends nothing.

Input schema

templateIdstring, [ 1 .. 250 ] characters^[A-Za-z0-9_-]+$required

id of the design, as search-email-editor-templates returned it

accountIdnull or integer, >= 1

User ID of the account; omit for the account the access token works in

Default:null
Input example
{ "templateId": "string", "accountId": null }

Output schema

accountIdintegerrequired
templateIdstringrequired
contentHtmlstringrequired
Output example
{ "accountId": 0, "templateId": "string", "contentHtml": "string" }