New: the MailCraft MCP server is live — connect your AI agent in one line. Connect your agent →
Email API

A transactional email API built for developers

Send reliable, trackable transactional email through a clean REST API. Real-time webhooks for delivery, opens, clicks, bounces and complaints — with SDKs for every language you'd actually reach for.

Node.js PHP Laravel Python Ruby Go Java .NET Rust Elixir

How it works

  1. 1

    Verify a sending domain

    Add your domain and drop in the SPF, DKIM and DMARC records we generate for you.

  2. 2

    Create an API key

    Scope a key to a project or environment from the dashboard in a few seconds.

  3. 3

    Send a request

    POST to /v1/emails with a from, to, subject and body — plain text, HTML or a template.

  4. 4

    Track delivery

    Subscribe to webhooks for delivered, opened, clicked, bounced and complained events.

send-email.sh
# Send a transactional email
curl https://api.mailcraft.host/v1/emails \
  -H "Authorization: Bearer sk_live_••••••••" \
  -H "Content-Type: application/json" \
  -d '{
    "from": "[email protected]",
    "to": "[email protected]",
    "subject": "Welcome to MailCraft",
    "html": "<strong>It just works.</strong>"
  }'
SPF, DKIM and DMARC on every domain Automatic bounce and complaint suppression Scoped, revocable API keys Signed delivery webhooks

Production-grade from day one

Deliverability isn't a checkbox — it's the whole job

Templates, webhooks and validation come standard, so your integration doesn't have to reinvent them.

Versioned templates

Write a template once with {{ variables }}, and every edit is kept as a new version you can roll back to.

Real-time delivery webhooks

HMAC-signed payloads for delivered, opened, clicked, bounced and complained events, the moment they happen.

Validation before you send

Format, MX and disposable-domain checks in one call, so bad addresses never reach the queue.

What's included

Everything in Email API

Live on your account the moment you sign up — nothing to request or provision.

Real-time delivery, open, click, bounce & complaint webhooks

Automatic suppression list shared across your whole account

Idempotency keys so retried sends never duplicate

Attachments, inline images and reusable templates

Per-message logs with full delivery timelines

SDKs for Node.js, Python, PHP, Ruby, Go, Java, .NET, Rust, Elixir & Laravel

Ready to try Email API?

Create a free account and send your first email — through the API, SMTP, or an MCP-connected AI agent — in minutes. No credit card required.

Start building for free