Test Flash Sale Subject Lines in Zed
Flash sales live and die by the open. With marginal connected to Zed as an MCP server, you can draft, test, and measure flash sale subject lines without leaving your editor — letting an AI agent handle the variant generation and the math.
Why test flash sale subject lines from Zed
Flash sales compress the entire campaign timeline into hours. You don't have days to wait on a winner, so the subject line decision needs to happen fast and with real data. Zed is built around an AI agent that can call tools, and marginal exposes the email workflow as those tools — so you can ask for subject lines and launch a test in the same flow you write code.
Because marginal is a hosted email MCP server, there's nothing to deploy. Once Zed is pointed at the marginal endpoint with your API key, the agent can reach generate_variants, launch_test, get_results, and recommend_next directly.
- Generate urgency-driven subject lines tuned for a flash sale
- Launch a subject line A/B test as a managed send
- Read open and click tracking with within-test lift metrics
- Keep the whole loop inside Zed, no dashboard switching
Connect marginal to Zed
Add marginal to Zed's MCP configuration using the registry name and the hosted endpoint. Authentication is a Bearer API key in the marg_live_ format — paste yours into the headers and the agent is ready to call email tools.
- Registry: sh.marginal/mcp
- Endpoint: https://marginal.sh/mcp
- Auth: Bearer API key (marg_live_...)
- Full setup steps live at https://marginal.sh/docs/
A flash sale subject line test, end to end
A typical flash sale subject line test in Zed starts with a prompt describing the offer — the discount, the deadline, the product. The agent calls generate_variants to produce several candidates, then launch_test to send them across a sample of your list.
- Ask the agent to generate variants like "24 hours only: 40% off everything" vs "Your flash sale starts now"
- launch_test splits the sends and begins open/click tracking
- get_results returns lift between variants as data comes in
- recommend_next suggests the winner so the remainder of your list gets the stronger line
Make the most of AI agent email marketing
Treating the subject line A/B test as a conversation lets you iterate quickly: tighten the urgency, swap the emoji, test a number-led line against a curiosity hook. The AI agent in Zed keeps context, so follow-up requests build on what already shipped.
The free tier covers 100 experiments per month, which is plenty of room to run several flash sale subject line tests and refine your approach over time.
- Lean into time pressure — flash sale lines reward clarity over cleverness
- Test one variable per round so lift metrics stay interpretable
- Use recommend_next to lock the winner before the sale window closes
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