Black Friday subject line tests in Zed with marginal
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.
- Draft Black Friday variants in the same window you write everything else
- Keep prompts, send logic, and results in one developer workflow
- Let the AI agent handle the email marketing busywork end to end
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.
- generate_variants — produce several Black Friday subject line angles (urgency, discount-led, curiosity)
- launch_test — start a managed send that splits the list across variants for the A/B test
- get_results — pull open and click tracking plus within-test lift metrics
- recommend_next — get a suggested winner and follow-up direction once data lands
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.
- Generate and review variants before any send goes out
- Launch the subject line test against a defined Black Friday segment
- Check lift metrics mid-flight and lock in the winner
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.
- Registry: sh.marginal/mcp · Endpoint: https://marginal.sh/mcp
- Auth with a Bearer API key — no Mailchimp or Klaviyo keys required
- 100 experiments/month free to validate your Black Friday tests
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