Testing Upsell Subject Lines in Windsurf
Upsell campaigns live or die by the subject line. With marginal connected to Windsurf, you can draft, launch, and measure upsell subject line tests without leaving your editor — the AI agent does the heavy lifting against a hosted email MCP server.
Why run upsell subject line tests in Windsurf
Windsurf's agentic workflow is a natural fit for upsell experimentation. Instead of context-switching to a marketing dashboard, you describe the campaign in plain language and the agent calls marginal's MCP tools to generate variants and launch the send.
Upsell emails target existing customers, so the subject line has to feel relevant rather than promotional. Testing several angles side by side tells you which framing actually moves opens and clicks for your account base.
- Stay in flow — write the campaign brief where you already work
- Let the AI agent handle email marketing mechanics through MCP
- Compare upsell angles with real open and click data
- No marketing UI to log into for each subject line test
Connecting marginal to Windsurf
marginal is a hosted email MCP server, so there's nothing to deploy. Add it to Windsurf's MCP configuration with your bearer API key and the agent gains access to the generate_variants, launch_test, get_results, and recommend_next tools.
- Registry: sh.marginal/mcp · Endpoint: https://marginal.sh/mcp
- Authenticate with a Bearer key in the form marg_live_...
- Confirm the tools appear in Windsurf before launching a test
- Full setup steps live in the docs at https://marginal.sh/docs/
A workflow for upsell subject line A/B tests
Once connected, prompt Windsurf with the upsell offer and audience, and the agent walks through the test lifecycle for you. The example below shows how each marginal tool maps to a step.
- Ask the agent to generate_variants for an upsell to active subscribers
- Review the suggested subject lines and trim to your favorites
- Call launch_test to send the subject line A/B test to your list
- Pull get_results for within-test lift on opens and clicks
- Use recommend_next to decide the winner or the next iteration
Getting useful upsell results
Upsell audiences are often smaller than acquisition lists, so keep your variant count focused — two or three strong angles usually beat a dozen near-duplicates. marginal reports within-test lift so you can see how each subject line performed relative to the others rather than against an arbitrary benchmark.
The free tier includes 100 experiments per month, which is plenty to run regular upsell subject line tests across product tiers and customer segments while you tune your messaging in Windsurf.
- Test distinct value angles, not minor wording changes
- Let opens validate the subject line and clicks validate the offer
- Iterate with recommend_next rather than guessing the next variant
- Track lift over a few sends to confirm a durable winner
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