Skip to main content

MailLayers Docs

Embed a production-ready email builder in your product. MailLayers gives your SaaS app an editor UI, template JSON, image upload hooks, and email-ready HTML export while your app owns storage, auth, and delivery.

Start here

  • Quick Start — install paths for React, Vue, Angular, and Vanilla JS.
  • API Reference — editor options, lifecycle methods, events, and read-only mode.
  • Export HTML — generate email-ready HTML from saved templates.
  • Asset Upload — connect image uploads to your storage/CDN.
  • Licensing / API Keys — localhost development, production domains, and key setup.

Framework guides

Production help

What MailLayers owns

  • Editor rendering and editing interactions.
  • Template JSON shape and block rendering.
  • HTML export for email delivery.
  • Framework adapters for React, Vue, Angular custom element, and Vanilla JS.

What your app owns

  • Template save/load persistence.
  • User auth and workspace permissions.
  • Asset upload storage and CDN URLs.
  • Sending email through your ESP.
  • Production license, API key, and allowed domain configuration.