GPT Email Marketing Automation
GPT email marketing automation works best when your model can actually act — drafting subject lines, launching a subject line A/B test, and reading the results without you stitching together scripts. marginal is a hosted email MCP server that gives any GPT-powered agent those exact tools.
Why connect GPT to an email MCP server
A GPT model on its own can write copy, but it can't send anything or learn from real opens and clicks. By exposing email actions through the Model Context Protocol, marginal turns a language model into an agent that runs experiments end to end.
Instead of pasting subject lines back and forth and manually setting up tests, your assistant calls a tool, gets structured data back, and decides what to do next.
- generate_variants — produce candidate subject lines from a prompt or brief
- launch_test — start a managed send with an A/B split
- get_results — pull open/click tracking and within-test lift
- recommend_next — let the agent suggest the follow-up variant
Running a subject line A/B test with a GPT agent
A typical automation loop looks like this: ask your agent for five subject line variations, launch a subject line A/B test across them, wait for engagement to accumulate, then read lift metrics to pick a winner. Each step maps to one marginal tool, so the agent never leaves your editor.
Because marginal handles the managed send and tracking, the model focuses on the part it's good at — generating and evaluating copy — while the server handles delivery and measurement.
- Prompt GPT to brief the campaign and desired tone
- Call generate_variants to get distinct subject lines
- Call launch_test to split traffic and send
- Call get_results to compare open and click rates with lift
Hosted, so there's nothing to run
marginal is a hosted service. You don't deploy or maintain a self-hosted MCP server — point your client at https://marginal.sh/mcp and authenticate with a Bearer API key (marg_live_...). The free tier covers 100 experiments per month, which is plenty to validate AI agent email marketing before you scale.
It plugs into the MCP clients developers already use, so you can drive GPT email marketing automation from wherever you write.
- Endpoint: https://marginal.sh/mcp · Registry: sh.marginal/mcp
- Works with Cursor, Claude Desktop, Claude Code, Windsurf, Cline, Continue, Zed, and OpenAI Codex
- Docs and setup guides 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