Create account
Sign in with Google to create your free organization and MailLayers license.
Add a polished drag-and-drop email editor to your product. MailLayers gives your users a familiar editing experience while your app keeps control of templates, storage, permissions, and delivery.
$ npm install @maillayers/react-email-editor
Published on npm · React 18/19 · Next.js & Vite · TypeScript
Drag blocks into the canvas, configure content in the inspector, save template JSON, and export production-ready HTML from your own product workflow.

Create your license, secure it to an allowed domain, install the React SDK, and mount the editor in your product.
Sign in with Google to create your free organization and MailLayers license.
Generate an organization-scoped SDK key and copy the secret when it is shown once.
Allowlist the exact hostname where your embedded editor will run.
Install @maillayers/react-email-editor in your React application.
Mount the editor with your API key and connect template state to your application.
Polished builder UX, developer-friendly SDK APIs, and production-grade controls — without building a custom editor from scratch.
Install the SDK, pass your API key and template state, and wire onChange to your persistence layer. Your app controls storage, permissions, and export.
Customer-facing SaaS editors, marketing platforms, CRM tools, agencies, and internal admin — one SDK, your storage, your delivery pipeline.