An AI Copywriter for Email Subject Lines That Actually Tests
Generating clever subject lines is easy. Knowing which one wins is the hard part. marginal turns your AI agent into an AI copywriter for email subject lines — and then proves which variant lifts opens and clicks with real A/B tests.
From copywriting to measurable results
Most AI copywriting workflows stop at the draft. You ask a model for ten subject line ideas, paste them somewhere, and hope. marginal closes the loop by letting your agent generate variants and immediately put them in front of real subscribers.
Because marginal is a hosted email MCP server, the same agent that writes your subject lines can launch the test and read the results — no manual copy-paste between tools.
- generate_variants — produce subject line candidates from a brief
- launch_test — start a subject line A/B test across your list
- get_results — pull open and click metrics with within-test lift
- recommend_next — get a data-backed suggestion for the next iteration
Why testing beats guessing
An AI copywriter can produce dozens of strong-sounding email subject lines, but audience preference rarely matches intuition. A short, curiosity-driven line might beat a benefit-heavy one — or lose badly — depending on your list.
A subject line A/B test removes the debate. marginal handles the managed send, splits your audience, and tracks opens and clicks so you see the actual lift each variant produced rather than relying on copywriting taste alone.
- Measure real opens and clicks, not predicted performance
- See within-test lift between variants side by side
- Let outcomes inform the next round of copy automatically
Built for AI agent email marketing
marginal speaks the Model Context Protocol, so any MCP-capable client can run the full loop. That makes AI agent email marketing practical: the agent reasons about your campaign goal, drafts subject lines, tests them, and proposes the winner.
Connect from Cursor, Claude Desktop, Claude Code, Codex, Windsurf, Cline, Continue, or Zed. Point your client at https://marginal.sh/mcp with a Bearer API key and your agent can start writing and testing subject lines in one session.
- Endpoint: https://marginal.sh/mcp
- Auth via Bearer API key (marg_live_...)
- Free tier covers 100 experiments per month
- Docs at https://marginal.sh/docs/
A practical workflow
Start with a clear brief — your offer, audience, and tone — and let the AI copywriter draft several subject lines. Launch them as a test, wait for enough sends to accumulate, then read the lift and ship the winner to the rest of your list.
- Describe the campaign and ask the agent to generate variants
- Launch a subject line A/B test against a sample of your list
- Check get_results for opens, clicks, and lift
- Use recommend_next to refine and run the next experiment
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