SadaSend

API email giao dịch an toàn và công cụ đảm bảo khả năng gửi thư cho các tác nhân AI, với danh sách người nhận được phép do máy chủ thực thi, xác minh bounce trước khi gửi và giữ phê duyệt thủ công.

Máy chủ MCP được lưu trữ

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

Cài vào Claude Code, Codex, Cursor và nhiều công cụ khác

Tài liệu

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"
}