← All guides marginal.sh

Testing Cyber Monday Subject Lines in Zed

Updated June 2026 · Hosted email MCP server

Zed is fast, keyboard-driven, and increasingly capable as an AI coding environment — which makes it a natural place to drive Cyber Monday subject line tests through marginal's email MCP server. This guide walks through connecting Zed to marginal and running a full subject line test without leaving your editor.

Why run Cyber Monday tests from Zed

Cyber Monday is a short, high-stakes window. You don't have days to wait on a marketing tool round-trip — you want to draft, launch, and measure in the same flow you already work in. With marginal exposed as an MCP server, Zed's AI agent can call email tools directly, so your subject line experiments live alongside the code and copy you're already editing.

marginal is hosted, so there's nothing to deploy. Point Zed at the endpoint, add your API key, and the agent gains access to the full test lifecycle: generate variants, launch a send, and pull results.

Connecting Zed to the marginal MCP server

Zed supports MCP servers, so adding marginal means registering the endpoint and your Bearer API key. Use the hosted endpoint at https://marginal.sh/mcp and authenticate with a key in the marg_live_... format.

Once configured, Zed's assistant can discover marginal's four tools — generate_variants, launch_test, get_results, and recommend_next — and orchestrate a subject line A/B test on your behalf. Full setup details live in the docs at https://marginal.sh/docs/.

Running a Cyber Monday subject line A/B test

Start by asking Zed's agent to brainstorm angles for your Cyber Monday promotion — urgency, percentage-off framing, free shipping, or last-chance messaging. The generate_variants tool turns that intent into a set of distinct subject line candidates you can review inline.

When you're happy with the shortlist, have the agent call launch_test to send the variants to your audience split. marginal handles the managed send and tracks opens and clicks, then surfaces within-test lift so you can see which Cyber Monday subject line is pulling ahead.

Reading results and iterating fast

After the send goes out, prompt Zed to fetch results. marginal returns open and click tracking plus within-test lift, so you don't have to compute statistical comparisons by hand. The agent can read those numbers and tell you which subject line variant won the split.

Because Cyber Monday traffic moves quickly, use recommend_next to spin a sharper variant for a later send wave — applying what the winning subject line taught you about tone and offer framing, all from inside Zed.

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