// AI NEWS · FEATURE

Unlayer Opens Its Email and Document Builder to AI Agents With Open-Source React Elements, a CLI, and Claude Skills

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.

KompozyTurn one idea into a week of content — across every platform, published for you.
Get Started →

2026-07-22 · by Moe Ameen

What happened

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.

Why it matters for creators

  • An email or document design can now be produced by an AI agent in code — a Claude or Cursor task can draft and export a template instead of a person building it block by block.
  • The open-source React Elements library and a free tier lower the barrier for developers to generate on-brand emails programmatically.
  • MCP support means the builder plugs into the same agent clients creators and teams are already adopting, rather than living only on Unlayer's site.
  • HTML- and screenshot-to-template conversion makes it fast to bring an existing design under editable, brand-locked control.
  • It still stops at one asset: an agent that designs an email in Unlayer hasn't written the rest of your week or published anything to a feed.

How to act on this with Kompozy

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.

Quick takeaways

  • Unlayer shipped open-source React Elements, a CLI, and a TypeScript SDK in a May 26, 2026 release.
  • Its AI Assistant edits designs by chat, and HTML/screenshot-to-template conversion is one click.
  • Agent skills plus MCP let Claude, Codex, and Cursor draft and export Unlayer designs in code.
  • The gap stays the same: it designs one asset — generating a full content week and publishing it is what Kompozy does.

Frequently asked questions

What did Unlayer release for developers and AI agents?

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.

Can Claude or Cursor build an email in Unlayer?

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.

Is Unlayer's AI and open-source tooling free?

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.

Related news

← All AI news · Get started →