← All guides marginal.sh

Testing Account Activation Subject Lines in Windsurf

Updated June 2026 · Hosted email MCP server

Account activation emails only work if people open them. With marginal connected to Windsurf, you can generate and A/B test activation subject lines straight from your editor — no context switching, no separate campaign dashboard.

Why test activation subject lines from Windsurf?

Account activation is the moment a new signup either becomes an active user or quietly churns. The subject line on your activation email is the first lever you control, and small wording changes can move open rates meaningfully.

Because marginal exposes its tools through the Model Context Protocol, Windsurf can call them like any other agent action. You stay in the flow you already use to write onboarding code while testing the email that drives users to finish activating.

Connect marginal to Windsurf

marginal is a hosted email MCP server, so there is nothing to deploy. Add the endpoint to Windsurf's MCP configuration with your Bearer API key and the four tools — generate_variants, launch_test, get_results, and recommend_next — become available to the agent.

Once connected, prompt Windsurf in plain language to spin up a subject line test for your activation flow.

{
  "mcpServers": {
    "marginal": {
      "serverUrl": "https://marginal.sh/mcp",
      "headers": {
        "Authorization": "Bearer marg_live_xxxxxxxxxxxxxxxxxxxxxxxx"
      }
    }
  }
}

Run an account activation subject line A/B test

A typical loop starts with generate_variants. Describe your audience — recent signups who haven't activated — and the agent produces several distinct subject line angles to test against each other.

From there, launch_test sends the variants and tracks opens and clicks, while get_results returns within-test lift so you can see which line is actually winning rather than guessing from raw numbers.

Turn results into a repeatable workflow

The point of a subject line test is not a single winner but a repeatable habit. recommend_next lets the agent propose the next experiment based on what just performed, so your activation emails keep improving release after release.

On the free tier you get 100 experiments per month, which is plenty to iterate on activation messaging without thinking about cost. AI agent email marketing works best when testing is cheap and constant — and running it inside Windsurf keeps that loop close to where you build.

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