cd /news/ai-agents/give-your-ai-agent-its-own-inbox-a-5… · home topics ai-agents article
[ARTICLE · art-117263] src=dev.to ↗ pub= topic=ai-agents verified=true sentiment=· neutral

Give Your AI Agent Its Own Inbox: A 5-Minute Setup with MCP

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.

read1 min views3 publishedSep 1, 2026

Most email APIs are send-only. But if you're building an agent that needs to

have a conversation over email — support, scheduling, invoicing — it needs

to receive replies too, with thread context.

In this post we'll set up an agent with its own mailbox using the Model

Context Protocol. This is an official EngageLab Email tutorial, so feedback

from developers is welcome.

Create an EngageLab account and generate a Secret Key from the console (it looks like

sk_sg_xxx

— the prefix encodes the region). Or use the CLI to create one

via browser login:

npm install -g @engagelabemail/cli
engagelab-email-cli login

You'll also need a mailbox — create one in the console (shared subdomain is

fastest to start; custom domains need DNS verification).

For Claude Code:

claude mcp add engagelab-email \
  -e ENGAGELAB_EMAIL_SECRET_KEY=sk_sg_yourkey \
  -- npx -y @engagelabemail/mcp

Or in claude_desktop_config.json

:

{
  "mcpServers": {
    "engagelab-email": {
      "command": "npx",
      "args": ["-y", "@engagelabemail/mcp"],
      "env": { "ENGAGELAB_EMAIL_SECRET_KEY": "sk_sg_yourkey" }
    }
  }
}

Ask your agent:

List my mailboxes, then send an email from the first one to

[me@example.com]saying "invoice #42 approved", then check for new messages.

The agent now has 9 tools: send, reply, list inbound mail, get a message,

poll for new mail, and browse threads.

sandbox: true

in send_email) skips real delivery while you're iterating on promptsRepo: https://github.com/Metaverse-Cloud/engagelab-email-mcp

Package: https://www.npmjs.com/package/@engagelabemail/mcp

What would you build first — a support agent, or an approval bot?

── more in #ai-agents 4 stories · sorted by recency
── more on @engagelab 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/give-your-ai-agent-i…] indexed:0 read:1min 2026-09-01 ·