Cross-Sell Subject Lines in Claude Code
Cross-sell campaigns live or die at the subject line. This guide shows how to draft, test, and measure cross-sell subject lines in Claude Code by connecting marginal — a hosted email MCP server — so your AI agent handles the whole loop without leaving the editor.
Why test cross-sell subject lines from Claude Code
Cross-sell emails ask an existing customer to add something complementary to what they already bought. The subject line has to feel relevant, not pushy — and the only honest way to know what resonates is a subject line A/B test against your real list.
Claude Code already understands your product catalog, customer segments, and past campaign notes if they live in your repo. With marginal connected as an MCP server, the agent can turn that context directly into a running test instead of pasting copy into a separate dashboard.
- Keep cross-sell messaging close to the product data that justifies it
- Let the agent draft and launch variants in one conversation
- Pull open and click results back into Claude Code for the next iteration
Connecting marginal as an email MCP server
marginal is hosted at https://marginal.sh/mcp and authenticates with a Bearer API key in the form marg_live_.... There's nothing to self-host — you add the endpoint to Claude Code's MCP configuration and your key unlocks the four tools the agent needs: generate_variants, launch_test, get_results, and recommend_next.
Once it's connected, Claude Code can drive an entire subject line test on its own. The free tier covers 100 experiments per month, which is plenty for ongoing cross-sell iteration. See https://marginal.sh/docs/ for setup details and https://marginal.sh/mcp for the endpoint reference.
- Registry: sh.marginal/mcp
- Endpoint: https://marginal.sh/mcp
- Auth: Bearer API key (marg_live_...)
- Tools: generate_variants, launch_test, get_results, recommend_next
A cross-sell subject line test workflow
The strength of AI agent email marketing is that each step feeds the next. Describe the cross-sell offer and the segment, and Claude Code can generate distinct subject line angles, launch them as a managed send, and report which variant won by within-test lift.
- Prompt Claude Code with the base product, the complementary item, and the audience
- Use generate_variants to produce several cross-sell subject lines with different hooks
- Run launch_test to send the variants and track opens and clicks
- Call get_results to compare open and click rates and within-test lift
- Ask recommend_next for the winning angle to carry into your next campaign
Writing cross-sell angles that convert
Good cross-sell subject lines connect the new offer to a purchase the customer already values. When you ask Claude Code for variants, give it specifics — the original product, the natural add-on, and any timing context — so each subject line tests a real hypothesis rather than a generic phrase.
Test contrasting angles in the same send so the lift numbers mean something. A subject line that frames the cross-sell as completion will behave differently from one built on scarcity or a personalized recommendation, and marginal's results tell you which one earned the click.
- Completion: position the add-on as finishing what they bought
- Personalization: reference the original purchase by name
- Value: lead with a bundle benefit or savings
- Curiosity: hint at what pairs well without spelling it out
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