← All guides marginal.sh

Testing Referral Program Subject Lines in Continue

Updated June 2026 · Hosted email MCP server

Referral campaigns live or die on the open. With marginal's email MCP server connected to Continue, you can draft, test, and ship referral program subject lines without leaving your editor — the AI agent handles the variant generation and A/B test orchestration for you.

Why referral emails need their own subject line test

Referral program messaging has a tricky job: it has to nudge an existing customer to vouch for you to someone else. The incentive, the social proof, and the call to action all compete for attention in the subject line, and small wording changes move open rates more than you'd expect.

Rather than guessing which angle wins, a subject line A/B test lets the data decide. Inside Continue, you can ask the agent to spin up several referral angles and pit them against each other on a slice of your list before committing to a full send.

How marginal works inside Continue

marginal is a hosted MCP server, so there's nothing to deploy. Once it's added to Continue with your Bearer API key, the agent gains four tools for running referral program subject line experiments end to end.

A typical flow is conversational: you describe the referral campaign, the agent calls generate_variants for a set of candidate subject lines, launches the test, and reports back on which one is pulling ahead.

A practical workflow for referral subject lines

Start by telling Continue the goal of your referral program email and any constraints — incentive amount, tone, and audience segment. The AI agent uses that context to generate distinct variants rather than minor rewordings, which gives the subject line test more signal.

After launch_test runs, check back with get_results to see open and click performance and the within-test lift between variants. When a winner emerges, recommend_next can propose a follow-up test so your referral subject lines keep improving across campaigns.

Getting set up

Point Continue at the marginal endpoint at https://marginal.sh/mcp and authenticate with your marg_live_ API key. Because marginal is fully hosted, you don't connect any external ESP keys to get started — sends and tracking are managed for you.

The free tier covers 100 experiments per month, which is plenty to validate a referral program subject line strategy. Full tool references and configuration details 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