← All guides marginal.sh

Testing Welcome Series Subject Lines in Windsurf

Updated June 2026 · Hosted email MCP server

Your welcome series sets the tone for every new subscriber relationship — and the subject line decides whether the first email gets opened at all. With marginal connected to Windsurf as an MCP server, you can draft, test, and refine those subject lines without leaving your editor.

Why optimize welcome series subject lines from Windsurf

Windsurf is where you're already building onboarding flows, transactional templates, and lifecycle logic. Pointing it at marginal's email MCP server means the AI agent that knows your codebase can also propose and test subject lines for the welcome emails that flow follows.

A welcome series is high-leverage: every new contact passes through it, so even a small lift on the first open compounds across your entire acquisition funnel.

The marginal workflow for a welcome series test

marginal exposes four MCP tools that map cleanly to the lifecycle of a subject line A/B test. In Windsurf, you can chain them in a single conversation to go from idea to result.

For a welcome series, you typically run a separate experiment per email in the sequence — the welcome greeting, the activation nudge, the social-proof follow-up — so you can see which framing wins at each stage.

A practical example for AI agent email marketing

Ask Windsurf to generate five welcome email subject lines for a developer tool audience, then launch a test across your new-subscriber segment. As opens and clicks accumulate, call get_results to read the within-test lift and decide whether a winner has emerged.

Because marginal is hosted, there's nothing to deploy and no self-hosted server to maintain — Windsurf talks to the endpoint directly. The free tier covers 100 experiments per month, which is plenty to iterate on a multi-step welcome series.

Connecting marginal to Windsurf

Add marginal as an MCP server in Windsurf using the hosted endpoint at https://marginal.sh/mcp and a Bearer API key (marg_live_...). Once connected, the subject line testing tools are available to the agent in your workspace.

The full setup and tool reference lives in the docs at https://marginal.sh/docs/, including configuration details for Windsurf and the other supported 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.

Documentation · Sign up · FAQ