Email Builder
Emails that people and AI can design together.
A typed document model, an operations API for LLM agents, an email-safe HTML renderer and a modern React editor. One package, MIT licensed.
Усильте агента
Собственная команда издателя. Не эндпоинт PlugMCP.
Host a copy with our keys and logs.
npx -y @maildun/[email protected]У Claude Code нет ссылки для установки локальной команды. Скопируйте команду ниже и выполните её в терминале.
claude mcp add maildun-email-builder -- npx -y @maildun/email-builder@0.6.0Выполните в терминале.
{ "mcpServers": { "maildun-email-builder": { "command": "npx", "args": [ "-y", "@maildun/[email protected]" ] } }}claude_desktop_config.json
Удалённый URL или команда на вашем компьютере? Чем различаются два способа установки
Запустить на PlugMCP
A new server you create. It is not this listing's official endpoint. Use the publisher install when you want their URL and their credentials.
ЗапускОт издателя
Emails that people and AI can design together.
A typed document model, an operations API for LLM agents, an email-safe HTML renderer and a modern React editor. One package, MIT licensed.
Agentic-first email builder: a typed document model, an operations API for LLM agents, a dependency-light HTML renderer, and a modern React editor.
AI is great at writing emails and bad at writing email HTML. Email Builder lets models and people edit the same structured document through the same validated operations, and leaves the HTML to a renderer that knows Outlook.
@usewaypoint/email-builder) designs convert with one call.npm install @maildun/email-builder
Edit with the React editor:
import { EmailEditor } from '@maildun/email-builder/editor';
import '@maildun/email-builder/styles.css';
export function Compose() {
return (
<div style={{ height: '100vh' }}>
<EmailEditor defaultValue={design} onChange={save} />
</div>
);
}
Render the stored JSON anywhere:
import { renderEmail } from '@maildun/email-builder';
const { html, text, warnings } = renderEmail(design);
Generate with any LLM:
import { buildSystemPrompt, createAgentSession, runTool, toAnthropicTools } from '@maildun/email-builder/agent';
const session = createAgentSession(design);
// system: buildSystemPrompt(), tools: toAnthropicTools(session.tools)
// for each tool call: runTool(session.tools, call.name, call.input)
session.getDocument(); // the new design
Connect an AI client over MCP:
claude mcp add email-builder -- npx -y @maildun/email-builder mcp --dir ./emails
The docs are also readable on GitHub in docs/.
bun install
bun run dev # playground at http://localhost:5173
bun run test
bun run docs:dev # this documentation at http://localhost:5174
See the contributing guide.
MIT. Parts of the UI and stylesheet come from shadcn/ui, Tailwind CSS and tw-animate-css (all MIT); see THIRD_PARTY_NOTICES.md. The EmailBuilder.js importer and font presets follow EmailBuilder.js (MIT) for compatibility.
Agentic-first email builder: a typed document model, an operations API for LLM agents, a dependency-light HTML renderer, and a modern React editor.
{ "mcpServers": { "maildun-email-builder": { "command": "npx", "args": [ "-y", "@maildun/[email protected]" ] } }}Инструменты
Списка инструментов пока нет. У удалённых серверов он появляется после первой проверки состояния.
FAQ
Скопируйте на этой странице конфигурацию stdio для Cursor, Claude Desktop, Claude Code или VS Code. Она использует установку издателя, а не прокси PlugMCP.
В этой записи не указано обязательных переменных окружения.
@maildun/email Builder работает локально через stdio.
Последняя проверка: 2026-11-08. Agentic-first email builder: a typed document model, an operations API for LLM agents, a dependency-light HTML renderer, and a modern React editor.