Upload HTML email templates โ Get email rendering API endpoints instantly
Select a template to view details
Or upload a new one to get started
Upload an HTML email file with {{variable}} Handlebars placeholders.
MailGen will parse it and create a dedicated email rendering API endpoint with automatic CSS inlining.
Drop your HTML email template here or click to browse
Select a template and click Preview or Render
Upload an HTML email template with {{variable}} Handlebars placeholders for dynamic content.
MailGen parses your template and generates a JSON payload schema showing all required variables.
POST your data to the generated endpoint. MailGen renders the HTML with your data and inlines CSS.
Receive email-ready HTML with inlined CSS โ compatible with all major email clients.
MailGen uses Juice to automatically inline <style> blocks into element-level style="" attributes.
This ensures maximum compatibility with email clients like Gmail, Outlook, and Apple Mail, which strip <style> tags.
CSS inlining is enabled by default on the /render endpoint. Use ?inlineCss=false to disable it.