MCP Server

Emailens MCP

io.github.emailens/mcp
Developer Tools Marketing & Advertising Public & reachable MCP 2025-11-25

What this MCP does

Analyzes, audits, previews, compares, and fixes HTML-based email designs for cross-client compatibility, accessibility, spam, and deliverability.

analyze_email
Analyze Email
Quick CSS compatibility analysis , returns warnings and per-client scores.
Read only Idempotent
Input schema
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['html'], 'properties': {'html': {'type': 'string', 'description': 'The email HTML source code'}, 'format': {'enum': ['html', 'jsx', 'mjml', 'maizzle'], 'type': 'string', 'description': 'Input format for framework-specific fix snippets'}}}
audit_email
Audit Email
Comprehensive quality audit , CSS compatibility, spam, links, accessibility, images, inbox preview, size, templates, content overflow, visual bugs.
Read only Idempotent
Input schema
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['html'], 'properties': {'html': {'type': 'string', 'description': 'The email HTML source code'}, 'skip': {'type': 'array', 'items': {'enum': ['spam', 'links', 'accessibility', 'images', 'compatibility', 'inboxPreview', 'size', 'templateVariables', 'overflow', 'visual'], 'type': 'string'}, 'description': 'Checks to skip'}, 'format': {'enum': ['html', 'jsx', 'mjml', 'maizzle'], 'type': 'string', 'description': 'Input format'}}}
build_email
Build Email
Generate a cross-client-compatible email from a brief using Emailens's self-healing loop (generate → score across 21 clients → repair). Output stays in the framework you choose. Returns a runId immediately , poll get_build_status for progress and the final code. Requires a Pro/Team API key.
Input schema
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['intent'], 'properties': {'format': {'enum': ['html', 'jsx', 'mjml', 'maizzle'], 'type': 'string', 'description': "Output framework: 'html' (default), 'jsx', 'mjml', or 'maizzle'"}, 'intent': {'type': 'string', 'description': 'What the email should be and contain , the brief to build from'}, 'seedHtml': {'type': 'string', 'description': 'Optional existing code to improve from instead of starting blank'}, 'threshold': {'type': 'number', 'description': 'Target compatibility score, 50-100 (default 90)'}, 'maxIterations': {'type': 'number', 'description': 'Max repair rounds, 1-8 (default 5)'}}}
check_deliverability
Check Deliverability
Check email deliverability for a domain , SPF, DKIM, DMARC, MX, BIMI.
Read only Open world Idempotent
Input schema
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['domain'], 'properties': {'domain': {'type': 'string', 'pattern': '^[a-z0-9]([a-z0-9-]*[a-z0-9])?(\\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)+$', 'minLength': 3, 'description': "Domain to check (e.g. 'company.com')"}}}
diff_emails
Diff Emails
Compare two email HTML versions , shows score changes, fixed issues, and regressions per client.
Read only Idempotent
Input schema
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['before', 'after'], 'properties': {'after': {'type': 'string', 'description': 'Modified email HTML'}, 'before': {'type': 'string', 'description': 'Original email HTML'}, 'format': {'enum': ['html', 'jsx', 'mjml', 'maizzle'], 'type': 'string', 'description': 'Input format'}}}
fix_email
Fix Email
Generate a structured fix prompt for email compatibility issues.
Read only Idempotent
Input schema
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['html'], 'properties': {'html': {'type': 'string', 'description': 'The email HTML source code to fix'}, 'scope': {'enum': ['all', 'current'], 'type': 'string', 'description': 'Fix scope'}, 'format': {'enum': ['html', 'jsx', 'mjml', 'maizzle'], 'type': 'string', 'description': 'Input format , controls fix syntax'}, 'selectedClientId': {'type': 'string', 'description': 'Client ID for scoped fixes'}}}
get_build_status
Get Build Status
Check a build_email run by runId , returns status, iteration, best compatibility score, and the current best source once available.
Read only Idempotent
Input schema
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['runId'], 'properties': {'runId': {'type': 'string', 'description': 'The runId returned by build_email'}}}
list_clients
List Email Clients
List all 21 supported email clients with IDs, names, rendering engines, dark mode support, and deprecation status. Use the returned IDs to filter other tools like preview_email or capture_screenshots.
Read only Idempotent
Input schema
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {}}
preview_email
Preview Email
Full email compatibility preview , transforms HTML for 21 email clients, analyzes CSS, generates scores, simulates dark mode, checks inbox preview and email size.
Read only Idempotent
Input schema
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['html'], 'properties': {'html': {'type': 'string', 'description': 'The email HTML source code'}, 'format': {'enum': ['html', 'jsx', 'mjml', 'maizzle'], 'type': 'string', 'description': "Input format: 'html' (default), 'jsx', 'mjml', or 'maizzle'"}, 'clients': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Optional client ID filter'}}}
Added
get_build_status
Sept. 17, 2026, 12:41 p.m.
Added
build_email
Sept. 17, 2026, 12:41 p.m.
Added
check_deliverability
Sept. 17, 2026, 12:41 p.m.
Added
diff_emails
Sept. 17, 2026, 12:41 p.m.
Added
list_clients
Sept. 17, 2026, 12:41 p.m.
Added
fix_email
Sept. 17, 2026, 12:41 p.m.
Added
audit_email
Sept. 17, 2026, 12:41 p.m.
Added
analyze_email
Sept. 17, 2026, 12:41 p.m.
Added
preview_email
Sept. 17, 2026, 12:41 p.m.