MCP Integration
Connect AgentEmail to Claude, GPT, and other MCP-compatible AI agents as a native tool.
Available Tools
create_inboxCreate a new email inbox (temporary or persistent)list_inboxesList all inboxes for the current userget_messagesGet messages from an inboxsend_messageSend an email from an inboxget_codeExtract verification code from latest emailreply_threadReply to an email threaddelete_inboxDelete an inbox and all its messagesClaude Desktop Setup
Add to your claude_desktop_config.json:
JSON
{ "mcpServers": { "agentemail": { "command": "agentemail-mcp", "env": { "AGENTEMAIL_API_KEY": "ak_your_api_key", "AGENTEMAIL_API_URL": "https://api.agentemail.email" } } } }
HTTP SSE Transport
For remote connections or web-based agents, use the HTTP Server-Sent Events transport:
Endpoint: https://mcp.agentemail.email Authentication: X-API-Key: ak_your_api_key Transport: SSE (Server-Sent Events)
Example Usage
Once configured, you can ask Claude to perform email operations naturally:
"Create a new inbox called 'research-bot' and send an email to hello@example.com with the subject 'Research Request'"
Claude will automatically use the AgentEmail MCP tools to create the inbox and send the email.