Email Copy Testing Automation for AI Agents
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.
- generate_variants — produce subject line and body copy options to test
- launch_test — start a managed send with tracking attached
- get_results — pull open/click rates and within-test lift
- recommend_next — let the agent suggest the next iteration
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.
- Split traffic across variants with a managed send
- Track opens and clicks without extra setup
- Compare variants using within-test lift, not raw cross-test numbers
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.
- Works with Cursor, Claude Desktop, Claude Code, Windsurf, Cline, Continue, Codex, and Zed
- Free tier includes 100 experiments per month
- Docs and tool references at https://marginal.sh/docs/
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.
- 100 experiments/month on the free tier
- Four MCP tools: generate_variants, launch_test, get_results, recommend_next
- Listed in the MCP Registry as sh.marginal/mcp