SadaSend

Safe transactional email API and deliverability engine for AI agents with server-enforced recipient allowlists, pre-send bounce verification, and human approval holds.

Hosted MCP Server

npx add-mcp 'https://mcp.sadasend.com'

Installs into Claude Code, Codex, Cursor and more

Documentation

Base URL and authentication

Every request is authenticated with a bearer token. Keys are environment-scoped and carry their own limits, IP allowlists, expiration dates, and persona tags.

POST https://api.sadasend.com/emails
Authorization: Bearer sada_live_sk_…
Idempotency-Key: 6f1c2a80-…
X-SadaSend-Agent: SupportBot
X-SadaSend-Source: agent
Content-Type: application/json

{
  "from": "notifications@yourdomain.com",
  "to": "user@example.com",
  "cc": ["team@example.com"],
  "bcc": ["archive@yourdomain.com"],
  "subject": "Your receipt",
  "html": "<p>Thank you for your order.</p>",
  "agent_name": "SupportBot",
  "source": "agent"
}

Channel & Agent Provenance

Every email accepted by SadaSend is automatically tagged with its ingress channel (mcp, sdk, api, smtp), sending persona source (agent, backend, automation, system), and optional agent identifier.

Provenance gives your team complete deliverability observability. You can filter the Email Activity log by agent name, inspect origin cards in the email detail drawer, and review agent deliverability health and bounce rates in your dashboard analytics.

/** Ingress channel & sending persona provenance */
export interface EmailProvenance {
  /** Ingress protocol: 'mcp' | 'sdk' | 'api' | 'smtp' */
  channel?: 'mcp' | 'sdk' | 'api' | 'smtp';

  /** Sending persona source: 'agent' | 'backend' | 'automation' | 'system' */
  source?: 'agent' | 'backend' | 'automation' | 'system';

  /** Optional agent identifier (up to 128 characters) */
  agent_name?: string;
}

Errors

Errors return a machine-readable code and a human-readable message. Both are always present.

{
  "error": "recipient_not_allowlisted",
  "message": "Key allowlist is [@example.com]. Recipient is outside it.",
  "docs": "https://www.sadasend.com/docs/errors#recipient_not_allowlisted"
}