← All guides marginal.sh

Testing VIP Retention Subject Lines in Claude Code

Updated June 2026 · Hosted email MCP server

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.

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.

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.

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/.

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