Email templates,
versioned like code.
Create, manage, and render email templates via API. Built for modern development teams.
$curl -X POST https://api.emailtemplateengine.com/v1/render \
-d '{"template": "welcome", "version": "v2.1", "data": {"name": "Alice"}}'
Interactive Template Preview
Change the data payload and see the render instantly.
JSON Payload
From: hello@acmecorp.com
To: alice@example.com
Subject: Welcome to Acme Corp!
<div style="font-family: sans-serif; padding: 20px;"> <h2>Welcome to Acme Corp, Alice!</h2> <p>We are thrilled to have you try out Widget X.</p> <a href="#" style="background: var(--accent); color: white; padding: 10px 20px; text-decoration: none; border-radius: 4px;">Get Started</a> </div>
Every template has versions, branches, and diff.
Roll back changes safely. Work in environments (staging, production). Compare rendering logic before deploying.
Let AI Agents manage your templates
EmailTemplateEngine exposes a native Model Context Protocol (MCP) server. Your favorite AI assistants can autonomously design, test, and publish email templates directly into your environments.
True Version Control
Treat your templates like code. Draft changes on isolated branches, test them thoroughly, and merge when ready. Never overwrite production templates accidentally again.
One API, Any ESP
Render templates with our fast API and send through your existing provider. Decouple your design from your delivery infrastructure.
AI Generation
Describe what you want, and let our multi-provider AI engine generate the HTML, CSS, and variables automatically.
Self-Hosted or Cloud
Deploy in your own VPC for absolute data privacy, or use our globally distributed edge network for zero-maintenance performance.
version: '3.8'
services:
engine:
image: email-template-engine:latest
environment:
- DATABASE_URL=postgres://...
- MCP_ENABLED=true
ports:
- "8080:8080"Developer First
Everything you can do in the UI, you can do via API.
# 1. Create a template
curl -X POST https://api.emailtemplateengine.com/v1/templates \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{"name": "receipt", "html": "<h1>Total: {{total}}</h1>"}'
# 2. Render HTML
curl -X POST https://api.emailtemplateengine.com/v1/render \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{"template": "receipt", "data": {"total": "$42.00"}}'
# 3. Export to PDF (Optional)
curl -X POST https://api.emailtemplateengine.com/v1/export \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{"template": "receipt", "format": "pdf"}'