MAAC Go EMAIL

Transactional email API for developers

One POST sends an email.

Receipts, one-time codes, password resets and order updates from your verified domain. Test safely, send to one person or fifty, and inspect every request and delivery event in the console.

Free: a test key at signup, then 200 live emails a month once you verify a domain (no credit card)Then: US$2 per 1,000, prepaidTaiwan accounts: 100 free, then NT$0.30 per email

Send

curl -X POST https://edm.cresclab.com/api/email/send \
  -H "Authorization: Bearer sk_live_..." \
  -H "Content-Type: application/json" \
  -d '{
    "to":      "user@example.com",
    "subject": "Your code: 483291",
    "html":    "<p>Code <b>483291</b></p>"
  }'

Returns 202 { "id": "...", "status": "queued" }. Full spec: openapi.yaml.

Test without reaching an inbox

Two key modes, told apart by the prefix. A key beginning sk_test_ records the message and returns 202 with "test_mode": true and "delivery": "skipped_test_mode" — it never hands anything to the mail provider, so nothing arrives and nothing is charged. Every new account starts with a test key. When you want mail to land, create an sk_live_ key on the Developers page and swap it in. Live keys are issued once the account has a verified sending domain, credit or a paid plan; until then creating one returns 403 live_key_needs_verification.

Send from the domain your customers know

Verify your sending domain once with SPF, DKIM and a return-path MX. API mail then uses that domain, and the from field can choose the address — receipts@, billing@ or any other address on one of your verified domains sends from exactly that address. If from names a domain you have not verified, the message goes out from your default verified domain's address, keeping your display name and reply_to. Only an account with no verified domain sends from the shared no-reply@mail.maacgoemail.com, still with your display name.

One recipient or fifty

Pass one address or an array of up to 50 in to; each person gets a separate message, suppression check, charge and message ID. To copy people on one shared message instead, add cc or bcc. Addresses can be written as Ada Lovelace <ada@example.com>.

Reuse a template

Sending the same email more than once? Store it once and send with an id — the bytes are identical every time, and {{variables}} (same syntax as campaign emails, {{name|fallback}} included) carry the per-message parts.

# once
curl -X POST https://edm.cresclab.com/api/templates \
  -H "Authorization: Bearer sk_live_..." -H "Content-Type: application/json" \
  -d '{"name":"order-confirmation","subject":"Order {{order_id}} confirmed",
       "html":"<p>Hi {{first_name|there}}, order {{order_id}} is on its way.</p>"}'
# → 201 { "id": "7", "variables": ["order_id","first_name"], ... }

# every time
curl -X POST https://edm.cresclab.com/api/email/send \
  -H "Authorization: Bearer sk_live_..." -H "Content-Type: application/json" \
  -d '{"to":"user@example.com","template_id":"7","variables":{"order_id":"1042","first_name":"Ada"}}'

Same for agents: the MCP server has create_template / list_templates, and send_email takes template_id.

Know what happened, without rebuilding an observability screen

The Developers console has two separate views. Email log shows each API or MCP message, its delivery timeline, content and deliverability insights; message bodies are retained for 30 days. API logs records every API-key request for 15 days. Delivery events — sent, delivered, opened, clicked, bounced and complained — can also be pushed to your endpoint, HMAC-signed in X-MAACGO-Signature and retried with backoff.

Endpoints on private networks are refused. If you are testing locally, use a public tunnel rather than localhost.

Respect preferences, not only global unsubscribes

Create up to 20 topics such as Product updates, Weekly digest or Promotions. Add topic_id to an API or MCP send and the recipient's preference-center choice is checked before any money moves. Turning off one topic does not unsubscribe the person from everything; a global unsubscribe, hard bounce or complaint still blocks every send path.

Let an agent send it

There is an MCP server at https://edm.cresclab.com/api/mcp, so Claude Code, Cursor, VS Code, Windsurf, Claude Desktop and Codex can send mail, add contacts, run a campaign someone already wrote, and read the report back — 31 tools on the same key. In Claude Code it is one line:

claude mcp add --transport http maacgo-email https://edm.cresclab.com/api/mcp --header "Authorization: Bearer sk_test_..."

Cursor, VS Code and Windsurf take the same URL and header in their config file, with nothing to install; Claude Desktop and Codex reach it through the mcp-remote bridge (Node.js 18+). Snippets for every client → Scopes are deliberately tight: an agent can send, but cannot create a campaign, issue a key or add credit.

What it costs

The same meter as campaigns: API messages count against your plan's included emails, and beyond that cost US$2 per 1,000 from a prepaid balance (Taiwan accounts: per email in NT$). One balance across both product lines. If we accept a message and the provider refuses it, the charge is returned automatically. See pricing.

Rules worth knowing before you build

Questions developers ask

Is there a free tier for the email API?
Yes. An international account's free plan includes 200 emails a month, shared between the API and campaigns, with no credit card. Every account starts with a test key; a live key, which delivers real mail, needs a verified sending domain (three DNS records, free on every plan), credit or a paid plan. Verifying a domain needs no card, and from then on live API mail uses the 200 free emails a month first. Beyond that, API messages cost US$2 per 1,000 from a prepaid balance (minimum top-up US$10); no monthly plan is needed for API-only use. Taiwan accounts get 100 free emails a month, then NT$0.30 per email. Keys beginning sk_test_ never deliver and are never charged.
Can API emails come from my own domain?
Yes. Once your account has a verified sending domain, API messages use it, and a from address on any of your verified domains, such as receipts@ or billing@, sends from exactly that address. When from names a domain you have not verified, the message goes out from your default verified domain's address with your display name. Only without a verified domain does MAAC Go Email send from no-reply@mail.maacgoemail.com, keeping your display name. reply_to can point wherever you choose.
How do I test without sending real email?
Use a key beginning sk_test_. The call returns 202 with test_mode set to true and delivery set to skipped_test_mode, and the message is recorded but never handed to the mail provider, so nothing arrives and nothing is charged. Every new account starts with a test key. When you want mail to land, create an sk_live_ key on the Developers page: it is issued once the account has a verified sending domain, credit or a paid plan. A verified domain can also be used as the From domain for API mail; otherwise live mail uses the shared address.
Can Claude Code, Cursor or another AI agent send email with it?
Yes. The MCP server at https://edm.cresclab.com/api/mcp takes your key as a Bearer token. Claude Code, Cursor, VS Code and Windsurf connect to it directly with nothing to install; Claude Desktop and Codex connect through the mcp-remote bridge, which needs Node.js 18 or later. Its 31 tools cover sending, templates, message status, contacts, campaigns and reports, and the balance. An agent can send, but cannot create a campaign, issue a key or add credit. Setup for each client is at https://edm.cresclab.com/mcp.
What happens if the recipient unsubscribed?
With a live key the API returns 403 with the error suppressed. Unsubscribes, hard bounces and complaints from your campaigns bind the API too, so one suppression list covers both. A test key (sk_test_) skips the suppression check, because it never delivers: the call is recorded as if it went through.
Is there a daily sending limit?
Yes. Verifying your own sending domain lifts the account cap to at least 5,000 a day, or to the paid plan's allowance. Accounts that unlock live sending through a payment but keep using the shared domain ramp from 1,000 to 2,500 to 5,000 and then 10,000 a day as the account ages. The cap is shared with campaigns; test-key calls never count toward it.
How do I know whether an email was delivered?
Delivery events (sent, delivered, opened, clicked, bounced, complained) are pushed to your webhook, HMAC-signed in X-MAACGO-Signature and retried with backoff. You can also look a message up with GET /api/email/{id}.
Do I need an SDK?
No. Sending is one HTTPS POST with a Bearer key, so any HTTP client works. The full OpenAPI spec is at https://edm.cresclab.com/openapi.yaml.

Get a free API key →

Home Pricing Transactional API MCP Newsletter for creators 中文電子報工具 Privacy Terms 中文 Crescendo Lab · Contact