← All guides marginal.sh

Testing Upsell Subject Lines in Zed

Updated June 2026 · Hosted email MCP server

Zed's AI assistant can talk to marginal directly, so you can draft, launch, and measure upsell subject line tests without leaving your editor. This guide shows how the email MCP server fits into an upsell workflow you can drive in plain language.

Why test upsell subject lines from Zed

Upsell emails live or die on the subject line — whether someone opens the message that nudges them from a starter plan to a premium tier. Small wording changes ("You're outgrowing Free" vs. "Unlock 3x more") move open rates more than the body copy ever will.

Because Zed connects to marginal over MCP, you can have the agent propose subject line variants while you're already in context, then push a real subject line A/B test to your list and wait on the numbers.

Connecting Zed to the email MCP server

marginal is hosted, so there's nothing to run locally. Add the endpoint https://marginal.sh/mcp to Zed's MCP configuration and authenticate with your Bearer API key (the marg_live_... token from your dashboard).

Once connected, four tools become available to the agent: generate_variants, launch_test, get_results, and recommend_next. Those map cleanly onto an upsell subject line test from first draft to a winner.

An upsell subject line A/B test, end to end

Describe the upsell campaign to Zed in natural language and let it chain the tools. A typical run looks like the steps below, where the agent moves from candidate subject lines to a launched send and finally to lift metrics within the test.

Tips for sharper upsell tests

Keep each subject line test focused on one variable so the lift you measure is real. For upsell sends, that usually means testing the hook — what the reader gets — rather than length or punctuation at the same time.

See the full tool reference and example prompts in the marginal docs 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.

Documentation · Sign up · FAQ