Skip to content

Check Email Content

Tool name: validate-email-editor-content

Checks the body of one drag-and-drop email and returns findings, each naming the uuid to fix and the tool that fixes it: an image without source or alt text, a button without target, an empty text block, an add-on block (countdown, contact card, wowing video) that was added but never configured, text contrast below WCAG 4.5:1, and a missing KlickTipp footer placeholder. A source-less image and an unconfigured add-on are errors -- what would reach the inbox is broken -- and everything else is a warning, the same weight the platform gives them at dispatch. Reads only; nothing is written, published or leaves the account, and a contrast is measured only where both colours are in the document. An email of the previous editor is refused. Findings come as data and, for a host that renders MCP Apps, as a page.

Input schema

emailIdnull or integer, >= 1

ID of the email; omit when the editor URL is given

Default:null
editorUrlnull or string, [ 12 .. 500 ] characters

Editor URL of the email, as a previous read returned it; omit when the email ID is given

Default:null
accountIdnull or integer, >= 1

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

Default:null
Input example
{ "emailId": null, "editorUrl": null, "accountId": null }

Output schema

One of:
emailIdintegerrequired
editorUrlstringrequired
contentStatusstringrequired
Enum:"draft""published""unpublished_changes"
blockCountintegerrequired

How many blocks were read: a clean answer is not an empty document.

errorsintegerrequired
warningsintegerrequired
findingsArray of objectsrequired

Errors first, then document order; empty means nothing was found.

Output example
{ "emailId": 0, "editorUrl": "string", "contentStatus": "draft", "blockCount": 0, "errors": 0, "warnings": 0, "findings": [ { "rule": "image_without_source", "severity": "error", "scope": "page", "uuid": "string", "kind": "string", "detail": "string", "remedy": "string" } ] }