← All guides marginal.sh

Black Friday subject line tests in Zed with marginal

Updated June 2026 · Hosted email MCP server

Zed's AI agent can do more than write code. Connect it to marginal, the hosted email MCP server, and your editor becomes a control panel for Black Friday subject line tests — generate variants, launch sends, and read open and click lift without leaving the buffer.

Why test Black Friday subject lines from Zed

Black Friday is the noisiest inbox day of the year. The difference between "40% off everything" and "Your cart is about to get cheaper" can swing open rates by double digits, but you only find out by measuring it on your real list.

Because Zed has a built-in AI agent that speaks MCP, you can describe the campaign in plain language and let it call marginal's tools to set up a proper subject line A/B test. No tab-switching to a separate dashboard, no copy-paste between tools.

The marginal tools your Zed agent will use

marginal exposes four MCP tools. For a Black Friday subject line test, the agent typically chains them in order, asking you to confirm the audience and timing before anything sends.

A typical Black Friday workflow in Zed

Once marginal is connected, the work reads like a conversation. You might tell the Zed agent: "Generate four Black Friday subject lines for our sale email, then launch an A/B test to the holiday segment." The agent calls generate_variants, shows you the options, and on your approval runs launch_test.

After the early opens roll in, ask for results. The agent calls get_results to surface open rate, click rate, and the within-test lift so you can see which subject line is actually pulling ahead — not just guess. recommend_next then points you toward the line to scale to the rest of your list.

Connecting and getting started

marginal is hosted, so there's nothing to deploy — point Zed at the endpoint at https://marginal.sh/mcp and authenticate with your Bearer API key (the marg_live_ token from your account). Setup details live in the docs at https://marginal.sh/docs/.

The free tier covers 100 experiments per month, which is plenty to dial in your Black Friday subject lines and keep testing through the holiday rush. See the full MCP reference at https://marginal.sh/mcp.

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