Skip to content
apikeg avatar

API Keg — MailPreflight Email QA & Deliverability

com.apikeg/mail-preflight

Pre-send HTML email QA covering Gmail clipping, client CSS, merge tags, and plain-text fallbacks.

CCM score
67 of 100
tools
2
transport
HTTP
last updated
Nov 30, 2026
Open website

Own this MCP server? Claim it

What it does

  • Runs audit_email_template for deliverability, merge-tag, link-hygiene, Gmail 102KB clipping, and Outlook, Gmail, and Apple Mail Dark Mode CSS checks
  • Converts HTML with extract_plain_text_fallback, keeping CTA links inline as "Label (URL)" and stripping invisible preheader padding
  • Requires a per-call x402 micropayment on Base or a monthly ak_live_ API key; ?dry_run=true validates payloads at no cost
  • Designed for marketing and transactional teams checking templates before they send

Install

$ npx -y add-mcp https://mail-preflight.apikeg.com/mcp --name mail-preflight -y

Adds the server to every agent config it finds in this project.

Review the command, arguments and environment values before installing. MCP servers run with your local permissions.

Other ways

Claude Code

$ claude mcp add --transport http mail-preflight https://mail-preflight.apikeg.com/mcp

Run in your terminal. Add --scope user to make it available in every project.

Tools

Verified live · 2 tools

Verified live against the running server on Dec 1, 2026.

audit_email_templateRuns a pre-send deliverability, merge-tag, link-hygiene, Gmail 102KB clipping, and cross-client CSS compatibility audit (Outlook Windows, Gmail, Apple Mail Dark Mode) on an HTML email. Pricing: $0.003 USD per email template preflight audit (x402 instant micropayment). Pass ?dr...5 params

Runs a pre-send deliverability, merge-tag, link-hygiene, Gmail 102KB clipping, and cross-client CSS compatibility audit (Outlook Windows, Gmail, Apple Mail Dark Mode) on an HTML email. Pricing: $0.003 USD per email template preflight audit (x402 instant micropayment). Pass ?dr...

Parameters* required
emailCategorystring
Outbound email class controlling compliance rules (marketing and cold_outreach require an unsubscribe mechanism).one of transactional · marketing · cold_outreachdefault: transactional
html*string
Complete outbound HTML email payload to inspect for Gmail 102KB clipping, Outlook/Gmail/Dark Mode CSS support, link hygiene, and spam triggers.
plainTextstring
Optional text/plain MIME companion body checked for unmerged placeholders and unsubscribe compliance.
preheaderstring
Optional preview/preheader snippet checked for unmerged merge tags and spam triggers.
subjectstring
Optional Subject header evaluated for unmerged placeholders, fake Re:/Fwd: prefixes, ALL-CAPS shouting, and punctuation triggers.
extract_plain_text_fallbackConverts an HTML email into a clean, RFC 5322-wrapped text/plain MIME companion, preserving CTA links inline as 'Label (https://...)' and stripping invisible ͏ / ‌ preheader padding hacks. Pricing: $0.001 USD per HTML-to-plain-text MIME fallback conversion (x402 inst...2 params

Converts an HTML email into a clean, RFC 5322-wrapped text/plain MIME companion, preserving CTA links inline as 'Label (https://...)' and stripping invisible ͏ / ‌ preheader padding hacks. Pricing: $0.001 USD per HTML-to-plain-text MIME fallback conversion (x402 inst...

Parameters* required
html*string
HTML email body to convert into a formatted text/plain MIME fallback with inline CTA URLs and stripped preheader padding.
wrapWidthinteger
Soft line-wrap width in characters (default 78 per RFC 5322; URLs are never split).default: 78

Details

Website
mail-preflight.apikeg.com/llms.txt
Category
Email & Messaging
Transport
HTTP
Registry
MCP registry, active
Resources
3
Prompts
2
Tools verified
Dec 1, 2026

More from apikeg

All 12

Similar to API Keg — MailPreflight Email QA & Deliverability

More Email & Messaging