# Preview Email 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:

```json
{
  "type": "object",
  "properties": {
    "templateId": {
      "type": "string",
      "description": "id of the design, as search-email-editor-templates returned it",
      "minLength": 1,
      "maxLength": 250
    },
    "accountId": {
      "type": [
        "null",
        "integer"
      ],
      "description": "User ID of the account; omit for the account the access token works in",
      "default": null,
      "minimum": 1
    }
  },
  "required": [
    "templateId"
  ],
  "additionalProperties": false
}
```

## Output schema:

```json
{
  "type": "object",
  "required": [
    "accountId",
    "templateId",
    "contentHtml"
  ],
  "properties": {
    "accountId": {
      "type": "integer"
    },
    "templateId": {
      "type": "string"
    },
    "contentHtml": {
      "type": "string"
    }
  }
}
```

