← All guides marginal.sh

Email Copy Testing Automation for AI Agents

Updated June 2026 · Hosted email MCP server

Manual subject line spreadsheets don't scale. With marginal, email copy testing automation lives inside your AI agent — generate variants, launch a test, and read lift metrics without leaving your editor.

What email copy testing automation looks like with marginal

marginal is a hosted email MCP server that exposes a small set of tools to any MCP-capable agent. Instead of hand-writing five subject lines and copy-pasting them into a sending platform, you ask your agent to draft variants, ship the test, and report back when results land.

Because the workflow runs through the Model Context Protocol, the same loop works whether you're prototyping in Cursor or running a scheduled job through Claude Code.

Running a subject line A/B test end to end

A typical subject line A/B test starts with generate_variants to spread a few angles across your audience — curiosity, urgency, benefit-led. launch_test splits the send and tracks opens and clicks automatically, so you don't wire up your own tracking pixels or attribution logic.

Once data accumulates, get_results returns lift metrics measured within the test, which keeps comparisons honest across cohorts and time. From there, recommend_next closes the loop so the cycle becomes genuinely automated rather than a one-off.

Why agents are good at this loop

AI agent email marketing benefits from tight feedback loops: an agent can read results, reason about what underperformed, and draft the next round in one pass. marginal gives the agent structured tools instead of brittle screen-scraping, so each step is deterministic and inspectable.

The endpoint is https://marginal.sh/mcp and auth is a single Bearer API key (marg_live_...). marginal is fully hosted — there's nothing to self-host and no third-party sending keys to configure to get started.

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