Testing VIP Retention Subject Lines in Claude Code
Keeping high-value customers engaged starts in the inbox. With marginal's email MCP server connected to Claude Code, you can draft, test, and measure VIP retention subject lines without leaving your editor.
Why VIP retention deserves its own subject line test
VIP customers behave differently from your general list. They open more, churn quietly, and respond to tone and personalization in ways that a one-size-fits-all subject line rarely captures. Treating VIP retention as a distinct subject line test gives you cleaner signal on what actually keeps your best customers around.
Inside Claude Code, marginal turns this into a conversational loop: describe the segment and goal, and the agent generates candidate subject lines, launches the test, and reports back with open and click data scoped to that send.
- Frame the segment explicitly — lapsing VIPs respond to different hooks than active loyalists
- Test a small, focused set of variants so lift metrics stay readable
- Anchor each line to a retention angle: exclusivity, early access, or a check-in tone
The Claude Code workflow with marginal
Once the email MCP server is connected, the four marginal tools map cleanly onto a retention experiment. You stay in the same chat thread you already use for code, and the agent handles the API calls for managed sends and tracking.
A typical pass looks like this: ask Claude Code to generate VIP-oriented subject lines, launch a subject line A/B test against your VIP segment, then pull results once opens and clicks accumulate.
- generate_variants — produce VIP retention subject lines from your brief
- launch_test — start a managed subject line A/B test on your VIP list
- get_results — read within-test lift, open rate, and click data
- recommend_next — let the agent suggest the next variant to try
Writing prompts that produce better VIP variants
The quality of generated subject lines depends on how much context you give Claude Code. For VIP retention, the agent does best when it knows the relationship history and the offer you're protecting.
Keep prompts concrete and outcome-focused so the AI agent email marketing loop converges quickly on a winner.
- State the segment: 'VIP customers with no purchase in 60 days'
- Name the lever: loyalty perk, restock, or personal account-manager note
- Ask for a tone range — warm and personal vs. urgent and exclusive
- Request 4–6 variants so the subject line test has enough spread to measure
Getting set up
marginal is a hosted MCP server, so there's nothing to deploy or self-host. Add the endpoint at https://marginal.sh/mcp to Claude Code, authenticate with your Bearer API key, and you're ready to run your first VIP retention experiment.
The free tier covers 100 experiments per month, which is plenty for iterating on retention subject lines for a high-value segment. Full tool references and setup steps live in the docs at https://marginal.sh/docs/.
- Endpoint: https://marginal.sh/mcp
- Auth: Bearer API key (marg_live_...)
- Works natively with Claude Code and other MCP clients
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