# Preview Email

Renders the current drag-and-drop email draft, unpublished edits included, and displays its HTML in an MCP App; recipient placeholders stay unresolved. Takes the editor URL from get-email-editor-content or a content write. Does not save, publish or send. The result carries contentHtml for hosts without MCP Apps support.

## Input schema:

```json
{
  "type": "object",
  "properties": {
    "editorUrl": {
      "type": "string",
      "description": "Editor URL of the email, as a previous read returned it",
      "minLength": 12,
      "maxLength": 500
    },
    "accountId": {
      "type": [
        "null",
        "integer"
      ],
      "description": "User ID of the account; omit for the account the access token works in",
      "default": null,
      "minimum": 1
    }
  },
  "required": [
    "editorUrl"
  ],
  "additionalProperties": false
}
```

## Output schema:

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

