{"slug": "give-your-ai-agent-its-own-inbox-a-5-minute-setup-with-mcp", "title": "Give Your AI Agent Its Own Inbox: A 5-Minute Setup with MCP", "summary": "EngageLab has released an official Model Context Protocol (MCP) server that gives AI agents a two-way email inbox, enabling them to send and receive messages with full thread context. The setup, which takes about five minutes, provides agents with nine tools including send, reply, list inbound mail, and browse threads, and supports sandbox mode for testing without real delivery.", "body_md": "Most email APIs are send-only. But if you're building an agent that needs to\n\nhave a *conversation* over email — support, scheduling, invoicing — it needs\n\nto receive replies too, with thread context.\n\nIn this post we'll set up an agent with its own mailbox using the Model\n\nContext Protocol. This is an official EngageLab Email tutorial, so feedback\n\nfrom developers is welcome.\n\n[Create an EngageLab account](https://www.engagelab.com/zh_CN/accounts/signup) and generate a Secret Key from the console (it looks like\n\n`sk_sg_xxx`\n\n— the prefix encodes the region). Or use the CLI to create one\n\nvia browser login:\n\n```\nnpm install -g @engagelabemail/cli\nengagelab-email-cli login\n```\n\nYou'll also need a mailbox — create one in the console (shared subdomain is\n\nfastest to start; custom domains need DNS verification).\n\nFor Claude Code:\n\n```\nclaude mcp add engagelab-email \\\n  -e ENGAGELAB_EMAIL_SECRET_KEY=sk_sg_yourkey \\\n  -- npx -y @engagelabemail/mcp\n```\n\nOr in `claude_desktop_config.json`\n\n:\n\n```\n{\n  \"mcpServers\": {\n    \"engagelab-email\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@engagelabemail/mcp\"],\n      \"env\": { \"ENGAGELAB_EMAIL_SECRET_KEY\": \"sk_sg_yourkey\" }\n    }\n  }\n}\n```\n\nAsk your agent:\n\nList my mailboxes, then send an email from the first one to\n\n[me@example.com]saying \"invoice #42 approved\", then check for new messages.\n\nThe agent now has 9 tools: send, reply, list inbound mail, get a message,\n\npoll for new mail, and browse threads.\n\n`sandbox: true`\n\nin send_email) skips real delivery while\nyou're iterating on promptsRepo: [https://github.com/Metaverse-Cloud/engagelab-email-mcp](https://github.com/Metaverse-Cloud/engagelab-email-mcp)\n\nPackage: [https://www.npmjs.com/package/@engagelabemail/mcp](https://www.npmjs.com/package/@engagelabemail/mcp)\n\nWhat would you build first — a support agent, or an approval bot?", "url": "https://wpnews.pro/news/give-your-ai-agent-its-own-inbox-a-5-minute-setup-with-mcp", "canonical_source": "https://dev.to/zhu_726761e22491e810619fc/give-your-ai-agent-its-own-inbox-a-5-minute-setup-with-mcp-2e2p", "published_at": "2026-09-01 03:30:28+00:00", "updated_at": "2026-09-01 03:51:35.377435+00:00", "lang": "en", "topics": ["ai-agents", "developer-tools", "ai-tools"], "entities": ["EngageLab", "Claude Code", "MCP", "Metaverse-Cloud"], "alternates": {"html": "https://wpnews.pro/news/give-your-ai-agent-its-own-inbox-a-5-minute-setup-with-mcp", "markdown": "https://wpnews.pro/news/give-your-ai-agent-its-own-inbox-a-5-minute-setup-with-mcp.md", "text": "https://wpnews.pro/news/give-your-ai-agent-its-own-inbox-a-5-minute-setup-with-mcp.txt", "jsonld": "https://wpnews.pro/news/give-your-ai-agent-its-own-inbox-a-5-minute-setup-with-mcp.jsonld"}}