Core Concept5 min read•Audience: All, Developers, Marketers
Export Overview
Learn how PostBrix exports your designs into production-ready formats: compiled email HTML, raw MJML, or automated API responses.
Key Takeaways
- PostBrix offers multiple export options: HTML file download, MJML file download, clipboard copy, and programmatic API delivery.
- Exported HTML is compiled through MJML and optimized for all major desktop, mobile, and webmail clients.
- Choose between Dynamic HTML (retaining Handlebars syntax) or Static HTML (hydrated with test data).
- Minification ensures your email HTML payload stays comfortably under Gmail’s 102 KB clipping threshold.
Available Export Formats#
When you are ready to use your email template outside of PostBrix, click the Export button in the top navigation bar.
PostBrix supports three primary export workflows:
- Email-Compatible HTML: Production-ready markup compiled from MJML, containing table structures, Outlook conditional comments, and mobile media queries. Ready to paste directly into your email sending platform.
- Raw MJML Source: Clean, semantic MJML code. Ideal for developer teams with existing Node.js, Python, or Go build pipelines that compile MJML on their own servers.
- Programmatic REST API: Query PostBrix via HTTP to render templates on-demand with real-time runtime customer variables.
Choosing the Right Format for Your Stack#
Which export format should you choose?
- Marketers using ESPs (Mailchimp, Klaviyo, Brevo, HubSpot): Export Email-Compatible HTML.
- Developers with transactional APIs (SendGrid, Postmark, AWS SES): Export Dynamic HTML or call the PostBrix Render API.
- Engineering teams storing email templates in Git: Export Raw MJML for version-controlled, human-readable source files.
Frequently Asked Questions
Does PostBrix host or send my exported campaigns?
No. PostBrix is an email design and compilation engine, not an ESP. You export your HTML or call our API to deliver emails through your chosen sending provider.
Can I download templates as a ZIP archive with images included?
Exported HTML references hosted CDN image URLs directly, so you do not need to upload images separately or unpack a ZIP archive.