Testing price drop alert subject lines in Claude Code
Price drop alerts are some of the highest-intent emails you'll send — the discount does most of the persuading, so the subject line just needs to get the open. This guide shows how to test price drop alert subject lines in Claude Code with marginal, the hosted email MCP server for AI agents.
Why price drop alerts deserve their own subject line test
A price drop alert competes with every other promo in the inbox, but it has a built-in advantage: the recipient already showed interest in the item. Your job is to surface the savings without sounding like every other sale email. That's exactly the kind of question a subject line A/B test answers with data instead of guesswork.
Common levers worth testing for a price drop alert include the exact discount amount, urgency framing, and whether you name the specific product the shopper watched.
- Dollar vs. percentage framing ('$40 off' vs. '25% off')
- Naming the product the user viewed vs. a generic 'price drop'
- Urgency cues like 'while it lasts' vs. neutral phrasing
- Emoji vs. plain text for the drop signal
Driving the workflow from Claude Code
With marginal connected as an MCP server, Claude Code can run the whole subject line test loop conversationally. Ask it to draft candidates, launch the send, and read back results — no context switching to a separate dashboard.
The four tools map directly to the steps of a price drop alert campaign:
- generate_variants — produce several price drop alert subject lines from your brief
- launch_test — send the subject line A/B test to your list segment
- get_results — pull open and click tracking with within-test lift metrics
- recommend_next — let the AI agent suggest the follow-up variant to try
A sample prompt for your price drop campaign
Give Claude Code enough context to write subject lines that fit a price drop alert and it will return testable variants. For example: 'Generate five price drop alert subject lines for a watched item now 25% off, then launch a test to my deal-seekers segment.'
Once the test runs, follow up with 'Show me the results' to see which variant won. Because marginal reports lift inside the test, you'll know whether the percentage framing or the product-name framing actually moved opens before you scale the send.
Connecting marginal to Claude Code
marginal is fully hosted, so there's nothing to deploy — point Claude Code at the endpoint at https://marginal.sh/mcp and authenticate with your Bearer API key. The free tier covers 100 experiments per month, which is plenty for iterating on price drop alert subject lines before a big sale.
See the connection steps and tool reference in the docs at https://marginal.sh/docs/, and explore the MCP details at https://marginal.sh/mcp.
- Endpoint: https://marginal.sh/mcp
- Auth: Bearer API key (marg_live_...)
- Works in Claude Code alongside Cursor, Windsurf, Cline, and more
- AI agent email marketing with open/click tracking built in
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