Price Drop Alert Subject Line Tests in Zed
Price drop alerts are some of the highest-intent emails you'll send — but the subject line decides whether anyone opens them. With marginal connected as an MCP server in Zed, you can generate, test, and optimize price drop alert subject lines without leaving your editor.
Why test price drop alert subject lines in Zed
Zed's AI assistant can call MCP tools directly, which means your subject line test workflow lives next to the code that triggers the alert. When a watched product drops in price, you're already in the loop — so iterating on the email copy from the same window keeps context tight.
marginal is a hosted email MCP server, so there's nothing to run locally. You point Zed at the endpoint, authenticate with a Bearer API key, and the AI agent handles the rest of the email marketing loop.
- Generate price drop alert subject lines as part of your dev flow
- Run a subject line A/B test and read results without context switching
- Let the AI agent recommend the next variant based on real lift
The marginal tools behind a price drop test
marginal exposes four MCP tools that map cleanly to a subject line test for price drop alerts. The flow is sequential: draft variants, launch the send, measure, then iterate.
- generate_variants — produce candidate subject lines emphasizing urgency, the discount amount, or the product name
- launch_test — start a managed A/B send across your segment
- get_results — pull open and click tracking with within-test lift metrics
- recommend_next — get an AI-suggested next variant to push the winner further
A price drop alert workflow with an AI agent
Ask Zed's assistant to generate a handful of price drop alert subject lines — for example, variants that lead with the percentage saved versus ones that name the exact product. Launch the subject line A/B test through marginal, let the send go out, then check open and click lift once enough recipients have engaged.
Because marginal tracks within-test lift, you don't have to guess which subject line won. The AI agent reads the numbers and can recommend the next iteration, so each price drop campaign sharpens the one before it. The free tier covers 100 experiments per month, which is plenty for ongoing subject line tuning.
Connecting marginal to Zed
Add marginal as an MCP server in Zed using the hosted endpoint at https://marginal.sh/mcp and your Bearer API key (the one that starts with marg_live_). No self-hosting and no separate ESP credentials are needed to start running subject line tests.
Once connected, the generate_variants, launch_test, get_results, and recommend_next tools become available to Zed's assistant. Full setup details are in the 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.
- 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