Account Activation Subject Line Tests in Zed
Pair Zed's AI assistant with marginal's email MCP server to draft, launch, and measure account activation subject lines without leaving your editor. This guide walks through testing activation prompts that nudge new signups to take their first real action.
Why test account activation subject lines from Zed
Account activation emails carry a lot of weight: they're often the first message a new user opens, and the subject line decides whether they click through to set up their profile, verify their email, or complete onboarding. Small wording changes can swing open rates meaningfully.
With marginal connected as an MCP server, Zed's agent can call email tooling directly. You describe the activation flow in plain language, and the agent generates candidate subject lines, runs the subject line A/B test, and reports lift — all in the same context where you're already writing code.
- Stay in flow: no switching to a separate marketing dashboard
- Let the AI agent draft activation copy variants from a single prompt
- Measure open and click lift per variant within the test
Connecting marginal to Zed
marginal is a hosted email MCP server, so there's nothing to deploy. Zed reads its MCP configuration and connects to the marginal endpoint at https://marginal.sh/mcp using a Bearer API key. Once registered, the four tools — generate_variants, launch_test, get_results, and recommend_next — become available to the assistant.
Grab an API key (it starts with marg_live_) from your marginal account, add it to Zed's MCP context server config, and you're ready to run your first account activation subject line test. Full setup steps live in the marginal docs.
- Registry: sh.marginal/mcp
- Endpoint: https://marginal.sh/mcp
- Auth: Bearer API key (marg_live_...)
- Docs: https://marginal.sh/docs/
A workflow for activation subject line A/B tests
Once marginal is wired into Zed, the activation test follows a tight loop. Start by asking the agent to generate several subject line angles for your activation email — for example, urgency, benefit-led, and curiosity-driven. Then launch the test to your activation segment and let marginal handle the managed send and tracking.
After enough sends accumulate, pull results to see which subject line lifted opens and clicks, and ask the agent what to do next.
- generate_variants — produce activation subject line candidates
- launch_test — send the subject line A/B test to new signups
- get_results — review open/click tracking and within-test lift
- recommend_next — get the suggested winner or next iteration
Tips for stronger activation results
Activation is about momentum. Keep subject lines concrete about the single next step rather than generic welcomes, and test one variable at a time so the lift you measure is real. Because marginal's free tier covers 100 experiments per month, you can iterate frequently without worrying about cost while you tune your activation sequence.
- Reference the specific first action (verify, set up, invite a teammate)
- Test tone against length to isolate what moves opens
- Re-run recommend_next after each batch to keep improving
- Use AI agent email marketing in Zed to version subject lines alongside your app code
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