Mailpark
Mailpark/How it works

One API. Two lanes. Your agent drives.

Built for your coding agent to set up.

§01Setup

Seven steps. You do two of them.

What happens after “set up my emails”.

  1. 01
    Connect
    agentget_started
  2. 02
    Add templates
    agentadd_essential_templates
  3. 03
    Wire up your app
    agentnpm install mailpark
  4. 04
    Test every email
    agentsend_test_email
  5. 05
    Build onboarding
    agentcreate_sequence
  6. 06
    Add your domain
    agentsetup_domain
    youPaste the DNS records
  7. 07
    Go live
    youOne switch in the web app
app.mailpark.dev/domains/acme.dev
The DNS records for acme.dev, split into the transactional and marketing subdomains, each verified
  1. 1Two subdomains, one per lane
  2. 2Each record explained
  3. 3Checked live
§02Two lanes

Transactional always wins.

A held broadcast never delays a password reset.

mail.acme.dev
transactional
  • –Priority queue
  • –No marketing limits
updates.acme.dev
marketing
  • –Daily limit grows with trust
  • –Unsubscribe link, always
await mailpark.emails.send({ to, template: "password-reset", type: "transactional", data })// the type picks the lane
§03Sequences

Onboarding that stops when it’s worked.

An event starts it. Another ends it.

app.mailpark.dev/sequences/seq_demo_onboarding
The Trial onboarding sequence: its steps, a simulate button, and the people enrolled
  1. 1Trigger and steps
  2. 2Exits early on upgrade
  3. 3Fast-forward a week
  4. 4Who’s where
§04Plain language

“Why didn’t Jane get their reset email?”

Every email in the logs explains itself.

app.mailpark.dev/logs/msg_01M4MG5A6GNZ1AYGJN47A79YFB
A bounced password reset in the logs, with a plain-language explanation of each delivery stage next to the rendered email
  1. 1What happened, in words
  2. 2Every stage, checked
  3. 3The exact email sent
§05Ways in

Agent-first, not agent-only.

§06Start

Paste one line. Then ask.

Test keys never send real email.

  1. 1
    Connect your agent
    $claude mcp add --transport http mailpark https://api.mailpark.io/mcp
  2. 2
    Ask for what you want
    “set up my emails”
  3. 3
    Or wire it in by hand
    $npm install mailpark