stensul-preview-email
Renders a read-only visual preview of an email, images included.
Falls back so every host shows something: HTML in an MCP App frame, then a PNG, then a link to the editor. Per the help center, the preview renders in the chat in Claude and ChatGPT, comes back as a static image in Writer, and opens through the edit link in Copilot.
Inputs
- emailIdstring (24-char hex id)required
Email ID to preview.
Errors people hit
| What you see | Fix |
|---|---|
| 401 Authentication expired or missing The session's authorization expired. | Sign in again when the host prompts. On a 401 or 403, the server's instructions tell the model to re-check sign-in first. |
| 403 Insufficient OAuth scope (403): The token lacks the required scope The API connection doesn't have the scope this tool needs. | An admin adds the scope to the API connection. Then sign in again: adding a scope revokes existing tokens. |
| 403 API error (403): Action is unauthorized. The signed-in user's role lacks the permission, for example edit_campaign. | Grant the permission to the user's role in Admin > Users & Roles. It works for other users on the same connection. |
All errors: Errors and troubleshooting.
{
"emailId": "64f0c0ffee0000000000abcd"
}{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "stensul-preview-email",
"arguments": {
"emailId": "64f0c0ffee0000000000abcd"
}
}
}An in-chat rendering of the email, or a PNG, or an editor link, depending on what the host supports.
Described from the tool's definition. Captured responses from a Stensul-internal tenant will replace this.
Example values use invented brands and ids. Tool list captured 2026-09-28.