← All guides marginal.sh

Test Shipping Update Subject Lines in Claude Code

Updated June 2026 · Hosted email MCP server

Shipping update emails get opened — but only if the subject line earns the tap. With marginal connected to Claude Code, you can generate, launch, and measure a subject line A/B test without leaving your editor.

Why subject line testing matters for shipping updates

Transactional and semi-transactional shipping update emails — order shipped, out for delivery, delivery confirmed — carry some of the highest open rates in any program. That makes them prime real estate for testing how phrasing affects engagement and downstream clicks back to your store.

Rather than guessing whether "Your order is on the way" beats "📦 It's shipped! Track your package," you can let an AI agent draft candidates and run a real subject line A/B test against your list.

How marginal works inside Claude Code

marginal is a hosted email MCP server, so Claude Code talks to it over the standard Model Context Protocol. Once your Bearer API key is configured, the agent can call marginal's tools directly when you describe the campaign you want to run.

The workflow maps cleanly to four MCP tools you can invoke conversationally.

A practical workflow for shipping update tests

Inside Claude Code, describe the email and let the AI agent handle the email marketing mechanics. A typical prompt-driven loop looks like this:

Getting set up

Point Claude Code at the marginal endpoint at https://marginal.sh/mcp and authenticate with your marg_live_ API key. Because marginal is fully hosted, there's nothing to self-host and no separate ESP keys to wire up just to run a test.

The free tier includes 100 experiments per month, which is plenty for iterating on shipping update subject lines. Full setup details for Claude Code live 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.

Documentation · Sign up · FAQ