← All guides marginal.sh

E-commerce Referral Program Email Test

Updated June 2026 · Hosted email MCP server

Referral programs only work when people actually open the invite. This guide shows how e-commerce teams run an email A/B test on their referral campaigns with marginal — finding the subject lines and copy that turn happy customers into referrers.

Why referral emails deserve their own test

Referral emails are unlike promotional blasts. You're asking existing customers to vouch for your brand, so tone, incentive framing, and timing all matter. A subject line that works for a flash sale may fall flat when the ask is "share with a friend."

Running an e-commerce referral program email test isolates what moves your referrers: the dollar value of the reward, the social hook, or the urgency of a limited offer. Small wins compound when every referred customer brings more lifetime value.

Running the subject line A/B test with marginal

marginal is a hosted email MCP server your AI agent calls directly. Inside Cursor, Claude Code, or any MCP client, you describe the campaign and the agent uses marginal's tools to draft variants, launch the split, and report results — no separate dashboard required.

A typical referral email A/B test flows through four MCP tools end to end.

Letting an AI agent drive the iteration loop

AI agent email marketing shines on repeatable campaigns like referrals. Because the program runs continuously, you can ask your agent to spin up a fresh subject line A/B test each cycle, learn from the prior winner, and keep raising your referral activation rate.

Connect your client to the endpoint at https://marginal.sh/mcp with a Bearer API key and your agent can manage the whole loop. The free tier covers 100 experiments per month — plenty to validate referral copy before scaling. Details live 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