The open-source
email editor for your app
The drag-and-drop editor from Email Love Builder, as a package you put in your own product. People build emails from design-system components, and you get email-ready HTML. It runs in the browser, with no server.
- BSD-3 license
- 217 components included
- React or plain JavaScript
- HTML tested in Outlook, Gmail and Apple Mail
This is the real editor, loaded from npm. Drag a component in, click any text to change it. Nothing leaves your browser.
Add it in a few lines
You tell the editor where to load and save emails and pictures. It does the rest.
- 1
Install the package
One package, with the rendering engine built in. React is the only other dependency.
- 2
Connect your storage
Pass
open,saveanduploadfunctions. Emails stay in your database. - 3
Get the HTML
Call
getHTML(),getMJML()orgetText()and send it with any platform.
import EmailLoveEditor from '@email-love/editor' import '@email-love/editor/style.css' export default function App() { return ( <EmailLoveEditor email={{ open: async () => api.load(id), save: async doc => api.save(id, doc), }} images={{ upload: async file => ({ url: await cdn.put(file) }), }} onOpen={async s => send(await s.getHTML())} /> ) }
import { mountEmailLoveEditor } from '@email-love/editor' import '@email-love/editor/style.css' const editor = mountEmailLoveEditor( document.getElementById('editor'), { email, images } ) const session = await editor.ready const html = await session.getHTML()
// Just the engine: render emails on your server, no editor import { renderEmail } from '@email-love/core' import { starterDesignSystem, starterEmails } from '@email-love/core/starter' const [welcome] = starterEmails() const { html, mjml, errors } = await renderEmail( starterDesignSystem(), welcome.document )
Everything people need to build an email
The same editor marketing teams use every day in Email Love Builder.
Built from components
Emails are made from a design system’s components, not loose blocks, so every email stays on brand.
Email-ready HTML
HTML, MJML and plain text, tested in the inbox clients Email Love supports, Outlook included.
Desktop, mobile and dark
Each view shows side by side while people edit, so nothing breaks on a phone or in dark mode.
No server needed
Rendering, previews and checks all run in the browser. Your app decides where emails and pictures are saved.
Your own components
Describe components in JSON, or start with the 217 in the Ultimate Email Design System, free on Figma.
Kept up to date
Changes to Email Love Builder’s editor are released to the open-source repo, so you get them too.
Free to use. Pay for the hosted parts.
The editor is free forever. Plans add the services that need a server, behind one API key, with no limit on editor users.
Open source
The editor and engine, self-hosted.
- Drag-and-drop editor and renderer
- 217 components and 4 starter emails
- HTML, MJML and plain-text output
- Your own storage and components
- Help on GitHub
Launch
For a product adding email for the first time.
- Hosted image storage, 50 GB
- 1,000 test emails a month
- 100 AI credits a month
- Up to 100 people using hosted features
- Email support
Platform Popular
For products where customers build emails every day.
- Everything in Launch
- Live co-editing
- Figma import
- Export to Klaviyo, Braze, Customer.io and more
- 1,000 people, 500 GB, 10,000 tests, 1,000 AI credits
Scale
For large platforms with many customers.
- Everything in Platform
- 10,000 people using hosted features
- 2 TB storage, 50,000 tests
- 5,000 AI credits a month
- Priority support and an uptime SLA
Enterprise. Unlimited people, single sign-on, data in your region, white-label, and a contract that fits your security review.
Book a callWant the whole app instead of an editor for yours? See Email Love Builder.
What’s in each version
| Open source | Hosted plans | Email Love Builder | |
|---|---|---|---|
| Drag-and-drop editor | Yes | Yes | Yes |
| HTML, MJML and text output | Yes | Yes | Yes |
| Desktop, mobile and dark previews | Yes | Yes | Yes |
| Image hosting | Your own | Yes | Yes |
| Test emails | Add your own | Yes | Yes |
| Live co-editing | Add your own | Platform and up | Yes |
| AI drafting | No | Yes | Yes |
| Figma import and ESP export | No | Platform and up | Yes |
| 600,000+ email library, teams, approvals | No | No | Yes |
Questions, answered
Is it really free for commercial use?
Yes. The editor and engine are under the BSD 3-Clause license. You can use them in a paid product, change them, and ship them, as long as you keep the license notice. The Email Love name and logo aren’t covered by the license.
Where are emails and pictures saved?
Wherever you choose. You pass the editor open, save and upload functions, and it calls them. The open-source editor never sends anything to Email Love.
Do I need React?
No. With React, use the EmailLoveEditor component. Without it, call mountEmailLoveEditor on any element. The engine on its own, @email-love/core, runs in Node with no React.
Can I use my own design system?
Yes. Components are plain JSON: a layout, the fields people can edit, and the styles they can change. The format is in FORMAT.md on GitHub. If you leave it out, the editor uses the Ultimate Email Design System.
What isn’t in the open-source version?
The parts that need a server: live co-editing, test emails, AI drafting, Figma import and export to sending platforms. They come with the hosted plans. You can also build your own versions, since the editor gives you a place to plug them in.
How is this different from Email Love Builder?
Email Love Builder is the full app for marketing teams: the editor plus a library of 600,000+ real emails, brand setup, teams, approvals, AI and export. The SDK is the editor on its own, for putting inside your product.
Add an email editor
to your app today.
Install it, connect your storage, and your customers can build on-brand emails.
