The embeddable, white-label builder shipped a free open-source React library, a terminal CLI, a TypeScript SDK, and agent skills plus MCP support so tools like Claude, Codex, and Cursor can draft and edit its designs in code.
2026-07-22 · by Moe Ameen
Unlayer, the San Francisco company whose drag-and-drop email, page, popup, and document builder is embedded inside SaaS products, CRMs, and ESPs (customers include Mastercard, Twilio, and Chargebee), spent 2026 pushing its editor toward AI agents and code-first workflows. In a platform release logged May 26, 2026 on its changelog, it shipped a bundle of developer tooling: Elements (@unlayer/elements), described as a new free, open-source way to build emails, pages, and documents in React; a CLI (@unlayer/cli) to manage an account from the terminal — list and pull templates, diff local versus remote; and an SDK (@unlayer/sdk), an official TypeScript client for its Cloud REST API. These sit alongside its long-standing open-source react-email-editor component.
The same release advanced the builder's AI layer. A chat-based AI Assistant inside the editor lets a user describe a change in plain language — "shorten this paragraph and make it friendlier", "translate this row to Spanish", "generate a Black Friday hero" — and streams the edit directly into the design; edits are selection-aware, undoable, and tracked in version history. Unlayer also added one-click conversion of an existing HTML email or a screenshot into a fully editable template.
The piece aimed squarely at agents is the surface beyond the builder. Unlayer exposes typed agent skills so AI coding agents like Claude and Codex can draft, edit, and export designs in code, and supports MCP (Model Context Protocol) so Claude Desktop, Cursor, and other MCP-aware clients can treat design operations as first-class tools. AI usage is included on paid plans up to a monthly quota and metered above it, and Unlayer says prompts, completions, and design content are not used to train its or upstream providers' models. Ongoing changelog entries through mid-2026 note further work, including a React 19 upgrade. Confirm exact package versions and availability on Unlayer's docs and changelog before relying on them.
This is a genuinely useful move, and it sharpens exactly where an embeddable builder ends. Give Claude Unlayer's skill and it can hand you a finished, editable email template. But a template is a container, and one container is not a content operation — the agent still hasn't decided what this week says, generated the video and carousels that go with it, or scheduled anything across platforms. Unlayer made the canvas agent-operable; the pipeline around it is still open.
Kompozy is built for that pipeline. Instead of an agent producing one email, you point Kompozy at a single source — a podcast, a webinar, a founder talk, an idea — and it generates the whole set: an Email Newsletter and Blog Article, Persona Shorts and HeyGen avatar video, brand-exact Carousels through HyperFrames, Photo Posts, Quote Graphics, and Text Posts, every piece written to your Persona Brief so the voice holds. Then it reframes each to 9:16, 1:1, and 16:9 and publishes across Instagram, TikTok, YouTube, LinkedIn, Facebook, X, Pinterest, and Threads plus a blog and Mailchimp, with Autopilot and a per-post review pipeline. If you like the agent-driven idea, run Unlayer to hand-design the master email look and let Kompozy generate the recurring copy and every other format around it — and do the distribution the agent's single asset never touches.
In a May 26, 2026 platform release, Unlayer shipped Elements (a free, open-source React library for building emails, pages, and documents), a CLI to manage an account from the terminal, and a TypeScript SDK for its Cloud REST API. It also exposes agent skills and MCP so tools like Claude, Codex, and Cursor can draft and export its designs in code.
Yes. Unlayer added typed agent skills and Model Context Protocol (MCP) support, so an AI agent such as Claude or an MCP-aware client like Cursor can draft, edit, and export Unlayer designs. It produces one editable asset — it doesn't generate a full content set or publish anywhere.
The Elements React library and react-email-editor are open source, and Unlayer has a free plan covering all four builders. AI Assistant usage is included on paid plans up to a monthly quota and metered above it; white-labeling and the Cloud API are gated to paid tiers.