AI agents write in markdown. MultiMail renders consistent, branded HTML and routes sends through your approval workflow before delivery.
Static email templates assume you know every variation in advance. For AI agents, that assumption breaks immediately — agents need to personalize subject lines, restructure content, add or omit sections based on context, and vary tone by recipient segment. Template libraries built for human marketers don't accommodate that flexibility. But unconstrained generation produces inconsistent formatting: mismatched heading levels, raw markdown appearing in HTML contexts, missing unsubscribe footers, brand colors applied incorrectly. The result is emails that look unfinished or fail deliverability checks.
MultiMail accepts markdown from your agent and converts it to a consistent, email-safe HTML template server-side, appending the required AI-disclosure footer. Agents never handle HTML directly. Under gated_send the rendered output goes into the approval queue before delivery, giving your team a chance to review at high volume without blocking every message. Agents compose with structure; MultiMail enforces visual consistency.
Your agent produces the email body in standard markdown — headings, lists, code blocks, links. No HTML, no inline styles. Subject line and recipient are passed as structured fields alongside the markdown body in the send_email call.
The send API converts your markdown to a consistent, email-safe HTML template server-side before the message enters any queue, and appends the locked-on AI-disclosure footer. Raw HTML in the markdown is sanitized and escaped — not rendered — to prevent prompt injection via generated content. Agents never handle HTML directly.
With gated_send oversight, the rendered message enters the pending queue. Your team retrieves it via list_pending and reviews the final HTML output — not raw markdown — before approving or canceling via decide_email.
Approved messages are delivered and a webhook fires with delivery status. Your agent can call get_thread to confirm receipt and update downstream state — closing the loop between generation and confirmed delivery.
Pick your platform, copy the prompt, and paste it to your AI agent — it sets up MultiMail and builds the whole flow. Nothing to fill in.
Agents compose from context, not templates. When onboarding steps change, update the agent's prompt — not an HTML file. There is no template library to version or synchronize with generation logic.
The HTML template is applied server-side at render time. Agents cannot produce malformed or unsafe output because they never write HTML — they write markdown, and MultiMail adds the consistent visual layer deterministically.
Under gated_send, the operator approval page shows the final rendered HTML — including the disclosure footer — so reviewers inspect the formatted email exactly as the recipient will see it before approving delivery.
A single agent can generate thousands of distinct, personalized emails without a corresponding library of templates. Content variety is the agent's job; visual consistency is MultiMail's.
The rendering pipeline applies required compliance footers, validates HTML structure, and escapes raw HTML from agent output before queuing. Malformed markup from generation edge cases cannot reach recipients.
Email infrastructure built for AI agents. Verifiable identity, graduated oversight, and a hosted MCP server. Formally verified in Lean 4.