Developer-First Email Infrastructure

Email Accounts for AI Agents

Provision mailboxes in seconds via API. JMAP, SMTP, IMAP — your AI agents send and receive email like humans.

JMAPSMTPIMAPPOP3CalDAVCardDAVWebDAVREST API

LLM Instructions: To implement UGMail email programmatically, fetch and follow the developer guide and the API reference. Base URL: https://mail.ugmail.co

terminal
$ curl -X POST mail.ugmail.co/api/principal \
  -H "Authorization: Bearer sk_live_..." \
  -d '{"name":"bot@company.com",
       "type":"individual",
       "secrets":["s3cur3!"]}'

200 OK — Mailbox ready

# Your AI agent can now:
# → Send via SMTP (port 587)
# → Receive via IMAP (port 993)
# → Access via JMAP (port 443)

Built for Every AI Use Case

From customer support bots to sales automation — real mailboxes for real AI agents.

AI Customer Support

Agents that receive tickets via email and reply automatically with context-aware responses.

AI Sales Outreach

SDR bots that send personalized outbound emails from real, authenticated mailboxes.

Workflow Automation

Connect with n8n, Make, or Zapier — trigger actions on every incoming email in real time.

Dev & Testing

Spin up disposable inboxes for CI/CD pipelines, integration tests, and staging environments.

Three Steps to Email

From zero to a working mailbox in under a minute.

01

Sign Up & Get API Key

Create your account. Grab your Bearer token from Settings → API Connection.

Authorization: Bearer sk_live_...
02

Create Mailboxes via API

One POST request creates a full mailbox with SMTP, IMAP, POP3, and JMAP access.

POST /api/principal
{"name":"bot@co.com","type":"individual"}
03

Send & Receive Email

Your AI agent connects via SMTP to send and IMAP/JMAP to receive. Standard protocols.

SMTP: smtp.ugmail.co:587
IMAP: smtp.ugmail.co:993

Enterprise-Grade Infrastructure

Everything your AI agent needs to send and receive email reliably.

API-First Management

Full REST API for accounts, domains, aliases, forwarders, and DKIM.

Instant Provisioning

Mailbox ready in under 5 seconds. No manual setup, no waiting.

Custom Domains

Bring your own domain or start instantly with @ugmail.co.

JMAP Support

Modern JSON-based mail protocol — built for automation and AI agents.

Spam & Virus Protection

Built-in filtering on all inbound email. Enterprise-grade security.

SSL/TLS Encryption

All connections encrypted by default. Zero-config security.

300 Emails/Hour

Per-account rate limits. 7,200/day. Spread across accounts for higher throughput.

Multi-Tenant Isolation

Each user gets a fully isolated tenant. No data leakage, no cross-contamination.

Code Examples

Create a mailbox in one API call. Pick your language.

# Create an email account for your AI agent
curl -X POST "https://mail.ugmail.co/api/principal" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "ai-agent@yourcompany.com",
    "type": "individual",
    "secrets": ["SecurePassword123!"],
    "emails": ["ai-agent@yourcompany.com"]
  }'

# Response: 200 OK — mailbox ready in seconds

Frequently Asked Questions

Common questions about using UGMail for AI agents.

Yes. Each mailbox allows up to 300 emails per hour and 7,200 per day. Distribute volume across multiple mailboxes for higher throughput.

Start Building in 30 Seconds

Affordable plans, custom domains, and multiple email accounts. Built for developers and AI workloads.