Testing Upsell Subject Lines in Zed
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.
- Stay in your editor — no separate marketing dashboard for the test loop.
- Let the AI agent handle email marketing busywork: variant drafting, send setup, results parsing.
- Tie upsell messaging experiments to the same flow you use for code.
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.
- Registry: sh.marginal/mcp
- Endpoint: https://marginal.sh/mcp
- Auth: Bearer API key starting with marg_live_
- Free tier covers 100 experiments per month — plenty for ongoing upsell tests.
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.
- Prompt the agent to call generate_variants for a few upsell angles — urgency, value, social proof.
- Use launch_test to send the variants and split traffic across your segment.
- Pull open and click tracking with get_results to see within-test lift.
- Ask recommend_next to suggest the follow-up subject line or the variant to scale.
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/.
- Test value framing vs. urgency before tweaking emoji or casing.
- Let results accumulate enough opens before declaring a winner.
- Reuse winning upsell angles as the control in your next subject line A/B test.
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