Appearance
What is Mail Lune?
Mail Lune is an embeddable email builder SDK. Drop a single <email-builder> web component into any web app and your users get a full drag-and-drop email editor — block library, template management, mobile preview, merge tags, and HTML export — all without you writing a line of editor code.
Think of it as the Stripe of email editors: a few lines of code, production-quality results.
Key concepts
Architecture overview
Your app
└── <email-builder api-key="..." user-id="..."> ← Web Component (Shadow DOM)
├── Palette panel (drag blocks)
├── Canvas (live preview)
└── Properties panel (block editor)
↕ REST API (api.maillune.com)
├── /v1/keys/validate (auth + plan features)
├── /v1/templates (save / load designs)
└── /v1/assets/upload (image hosting)The component talks directly to the Mail Lune API using your API key. Your backend doesn't need to proxy anything — just store the blockTree JSON your users create and pass it back when they re-open the editor.