documentation

agentmail docs

Give your AI agent a real inbox with API access, SMTP/IMAP credentials, custom domains, and signed webhooks.

Why agentmail?

  • 1Real mailboxes — Every inbox is a durable mailbox with IMAP/SMTP access, not a disposable send endpoint.
  • 2REST API + native protocols — Use the JSON API for orchestration or connect via IMAP/SMTP for raw protocol compatibility.
  • 3Self-hosted — Runs on your infrastructure, backed by Stalwart Mail Server, with no vendor lock-in.