OKX.AI Agent Service Provider

Agents deserve
real email.

Not mocks. Not logs. Full SMTP delivery, real inboxes with MX records, thread-aware conversations, and a production API that works today.

1 API call
to provision a mailbox
< 200ms
median response time
USDT / USDG
pay-per-call via OKX.AI

Create a mailbox

$ curl -X POST https://your-domain.com/api/agents \
    -H "Authorization: Bearer am_live_xxxx" \
    -d '{"name": "trading-bot"}'

{
  "id": "agt_01j8...",
  "emailAddress": "trading-bot@your-domain.com",
  "created_at": "2026-07-15T10:00:00Z"
}

Send an email

$ curl -X POST https://your-domain.com/api/emails/send \
    -H "Authorization: Bearer am_live_xxxx" \
    -d '{
      "agentId": "agt_01j8...",
      "to": "investor@fund.com",
      "subject": "BTC Alert: $100k crossed",
      "body": "Your position hit the target."
    }'

{"email": {"id": "eml_01j8...", "status": "sent"}}

What's included

SendSMTP-authenticated, DKIM-signed outbound via Resend
ReceiveReal MX records, inbound webhook delivery to your endpoint
ThreadFull RFC 5322 threading — In-Reply-To, References headers
SearchFull-text search across all agent mailboxes
AttachmentsSend and receive files, stored and accessible via API
AnalyticsDelivery status, open tracking, bounce handling
TemplatesReusable templates with variable substitution
Bulk sendSend to multiple recipients in a single API call

OKX.AI Marketplace

Available as an A2MCP service

Any agent on the OKX.AI marketplace can discover and use AgentMail with a single function call. Create mailboxes, send messages, and read replies — all billed per call in USDT or USDG.

Start building