Getting Started
Quick Start
Get your first email preview or AI-generated template in under a minute using the Emailens web app, MCP, or REST API.
Emailens provides 4 distinct ways to test, build, and optimize email templates:
1. Web App (Zero Setup)
- Open emailens.dev/dashboard/new.
- Paste any HTML, React Email (JSX), or MJML template into the editor.
- Click Preview to view side-by-side renders and 14-point audit results across 21 email clients.
2. AI Email Builder
- Open emailens.dev/build.
- Describe your email layout and select your framework (HTML, React Email, MJML).
- The engine iteratively generates, audits, and auto-repairs rendering bugs.
3. Model Context Protocol (MCP)
Connect Claude Code, Cursor, or Claude Desktop directly to Emailens:
claude mcp add emailens -- npx -y @emailens/mcpAsk your AI: "Analyze this email template and fix any issues that break in Outlook or Gmail."
4. REST API
Submit emails programmatically from your build pipeline:
curl -X POST https://emailens.dev/api/preview \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ek_live_..." \
-d '{"html": "<html><body><h1>Hello</h1></body></html>"}'Next Steps
- Preview Tool & Linter: Deep dive into the 14-point audit engine
- AI Builder Guide: Generating bulletproof templates with AI
- MCP Server Setup: Connecting AI coding assistants
- REST API Reference: Full endpoint reference