← All guides marginal.sh

Testing Back in Stock Emails for E-commerce

Updated June 2026 · Hosted email MCP server

Back in stock alerts are some of the highest-intent emails an e-commerce store sends. A focused e-commerce back in stock email test helps you find the subject line that turns a waitlist into a checkout — and with marginal, your AI agent can run that test end to end.

Why back in stock emails deserve their own test

Shoppers on a back-in-stock waitlist already wanted the product. The job of the email is to reach them before they buy elsewhere, so the subject line carries unusual weight — it decides whether the alert gets opened in the first minutes after restock.

Small wording changes move real revenue here. Urgency framing, naming the specific product, hinting at limited quantity, or leading with the customer's name all behave differently in e-commerce inboxes. A structured email A/B test removes the guesswork.

Running the subject line A/B test with marginal

marginal is a hosted email MCP server that your AI agent connects to. Instead of wiring up dashboards, you describe the campaign in plain language and the agent calls marginal's tools to generate variants, launch the test, and read results.

The flow maps cleanly onto a back in stock send. Your agent asks for subject line candidates, splits them across your restock audience, and reports which one earned more opens and clicks within the test.

Fitting it into your AI agent workflow

Because marginal speaks MCP, AI agent email marketing becomes part of your normal coding or ops session. Connect from Cursor, Claude Code, Claude Desktop, Windsurf, Cline, Continue, Zed, or OpenAI Codex and trigger the same restock test you'd otherwise build by hand.

Authentication is a single Bearer API key (marg_live_...) against the hosted endpoint at https://marginal.sh/mcp — there's no self-hosted server to maintain. The free tier covers 100 experiments per month, which is plenty for iterating on a handful of back in stock subject lines.

A practical test plan for restock alerts

Keep the experiment tight so the winner is clear. Pick one variable per round, send to a representative slice of your back-in-stock list, and let your agent surface the lift before you commit the winning subject line to the full audience.

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