← All guides marginal.sh

Lifecycle Email MCP Server for AI Agents

Updated June 2026 · Hosted email MCP server

Lifecycle emails — welcome series, onboarding nudges, renewal reminders, and win-back campaigns — live or die by their subject lines. marginal is a hosted lifecycle email MCP server that lets an AI agent generate variants, launch tests, and read lift metrics without leaving your editor.

Why use an MCP server for lifecycle email?

Lifecycle programs run on a schedule, so every stage is a recurring chance to test and improve. A lifecycle email MCP server connects that testing loop directly to your AI agent, so the same assistant that drafts your onboarding copy can also measure which subject line actually drives opens.

marginal exposes the workflow as MCP tools your agent can call: generate_variants for fresh subject lines, launch_test to send a managed A/B test, get_results for open and click data, and recommend_next to pick a winner for the next cohort.

A typical lifecycle subject line A/B test

Pick a flow stage — say, a day-3 onboarding email — and ask your agent to propose variants. It calls generate_variants, then launch_test to send them to a sample of that stage's audience, and reports back with get_results once data lands.

Because each lifecycle stage is its own experiment, you build a library of proven subject lines over time. recommend_next helps your AI agent email marketing workflow promote winners into the live flow and queue the next round of ideas.

Works in the tools you already use

marginal speaks standard MCP, so the email MCP server plugs into Cursor, Claude Desktop, Claude Code, OpenAI Codex, Windsurf, Cline, Continue, and Zed. Add the endpoint, supply your Bearer API key, and your agent can run lifecycle tests inline.

Authentication uses a single Bearer key (marg_live_...). You don't wire up ESP API keys to get started — marginal handles the managed sends and tracking on its hosted infrastructure.

Get started with marginal

marginal is a hosted email marketing MCP server at marginal.sh. Sign up free, create an API key, and connect https://marginal.sh/mcp from Cursor, Codex, or Claude Desktop.

Documentation · Sign up · FAQ