AgentMail is the fastest way to give a Codex agent its own email inbox. It can send email, receive replies, and manage full conversation threads from a dedicated inbox it owns.
The official AgentMail plugin for Codex installs in one command and gives your agent a dedicated inbox in under a minute.
The plugin installs from github.com/agentmail-to/agentmail-plugins and points Codex at the hosted AgentMail MCP server, which you authorise with OAuth on first connect. The API key is only needed for the SDK and CLI paths.
Your Codex agent gets its own inbox with its own email address. It never sends from your personal email or shares your credentials.
Create inboxes, send messages, read replies, and manage threads - all through a clean SDK that works with any Python or Node.js environment.
Set up webhooks to get notified instantly when new emails arrive. Your agent can react immediately, not after a polling interval.
Common questions about AgentMail and Codex.
Free tier. No credit card required. Inboxes ready in under a second.
Subscribe to our weekly newsletter.
© 2026 AgentMail, Inc. All rights reserved.