← All guides marginal.sh

Post-purchase subject lines in Zed

Updated June 2026 · Hosted email MCP server

Connect Zed to marginal's email MCP server and turn your post-purchase emails into tested, data-backed sends — drafting subject lines, launching A/B tests, and reading results straight from the editor.

Why test post-purchase subject lines from Zed

Post-purchase emails — order confirmations, shipping updates, review requests, and reorder nudges — get high engagement but are often shipped with a single static subject line. A subject line test on these flows can surface lift you'd otherwise leave on the table.

If you already live in Zed, you don't need a separate marketing dashboard to run that experiment. With marginal wired in as an MCP server, the AI agent in your editor can draft variants and launch a subject line A/B test in the same window where you write code.

Connect marginal as an MCP server in Zed

marginal is hosted, so there's nothing to self-host. Point Zed's MCP configuration at the marginal endpoint and authenticate with your Bearer API key. Once registered, the four marginal tools become available to the agent in Zed.

Run a post-purchase subject line test

Once connected, describe the post-purchase moment you're targeting and let the agent drive marginal's tools. A typical loop for a review-request or reorder email looks like this:

Tips for stronger post-purchase variants

Post-purchase recipients have just bought from you, so subject lines that reference their order, timing, or next step tend to outperform generic promotional copy. Give the agent that context when generating variants in Zed.

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