Engagelab Email logo

Engagelab Email

Send, receive, monitor and reply to email from AI agents with threaded inbox context.

Install Engagelab Email

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "engagelab-email": {
      "command": "npx",
      "args": [
        "-y",
        "@engagelabemail/mcp"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

We couldn’t confirm it starts correctly

The install command installed and started the server, which then stopped for configuration (such as an API key) that our sandbox does not have — expected for servers that connect to your account.

npx -y @engagelabemail/mcp

No response to initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked 8d ago.

Overview

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked Today

Recent health check succeeded.

8/8 checks healthy over the last 47d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 1d ago via OSV.dev · @engagelabemail/mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads333Package downloads in the last 30 days.
Last commit1mo agoMost recent push to the default branch.
Install checkRunsOur sandbox started it; it then asked for an API key or config.
Directory activity2 viewsConfig copies, upvotes, and views on AllMCPs.

From the project README

EngageLab Agent Email MCP Server

npm License: MIT Node

English | 简体中文

Official EngageLab Email project.

This repository distributes a local stdio MCP server. It does not provide a hosted OAuth or HTTP MCP endpoint; run it locally with the installation command below.

Send, receive, and reply to email from AI agents — through the Model Context Protocol.

Each agent gets its own mailbox: a real address that sends and receives, with conversations grouped into threads so your agent has context. Works with Claude Desktop, Claude Code, Cursor, Cowork, and any MCP-compatible client.

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

Why

Most email APIs are send-only. Agents that need to have a conversation over email — support, scheduling, approvals — need an inbox.

  • Send & receive — the agent owns a dedicated mailbox, not a bolted-on parse webhook
  • Thread-aware — replies group into conversations, so the agent sees full history
  • Sandbox mode — test agent flows without emailing real humans
  • One env var — no OAuth dance for local use; region inferred from the key

Tools

ToolWhat it does
Discoverlist_mailboxesList mailboxes; call this first to get IDs
Sendsend_emailNew email (text/html, cc/bcc, attachments, sandbox)
reply_emailReply to a message — recipients & thread inferred
Receivelist_inbound_messagesInbound mail, filter by mailbox/keyword
get_messageFull message details by UID
check_new_messagesOne-shot poll for new mail
Threadslist_threads / get_thread / list_thread_messagesBrowse conversations

Quickstart

Smithery / MCPB

For local stdio distribution, build an MCPB bundle:

Terminal
npm run build:mcpb

The bundle is generated at dist/engagelab-agent-email.mcpb and can be uploaded through Smithery publishing.

Official MCP Registry

EngageLab Agent Email is also listed in the official MCP Registry. Clients that consume the Registry can find it by the server name io.github.Metaverse-Cloud/engagelab-email; the underlying npm package remains @engagelabemail/mcp.

1. Get a Secret Key. Create an EngageLab account and generate a key from the console (format sk_sg_xxx — the prefix selects the region). Or use the CLI: engagelab-email-cli login creates one via browser.

2. Create a mailbox. In the console, create a mailbox for your agent (shared subdomain is instant; custom domains need DNS verification). Programmatic mailbox creation is on the roadmap — see Troubleshooting if list_mailboxes returns empty.

3. Register the server.

Claude Desktop — add the JSON block above to claude_desktop_config.json.

Claude Code:

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

Then ask your agent:

List my mailboxes, then send an email from the first one to bob@example.com saying the invoice is approved.

A typical agent loop for a support bot:

Code
check_new_messages()            → [messageUids]
get_message(uid)                → body, attachments
list_thread_messages(threadId)  → full conversation context
reply_email(uid, { text: ... }) → response lands in the same thread

Configuration

Environment variableRequiredDescription
ENGAGELAB_EMAIL_SECRET_KEYYesSecret Key starting with sk_
ENGAGELAB_EMAIL_BASE_URLNoOverride the API base URL. Inferred from the key region: sg → Singapore, tr → Türkiye

Limits: up to 10 attachments / 10MB total per message (base64-encoded in the tool schema).

Troubleshooting

  • list_mailboxes returns an empty list — your account has no mailbox yet. Create one in the EngageLab console (see Quickstart step 2). Agents cannot self-provision mailboxes yet.
  • 401 / code 100101 — the Secret Key is wrong or revoked. Check ENGAGELAB_EMAIL_SECRET_KEY and that the key's region prefix (sk_sg_ / sk_tr_) matches the endpoint you use.
  • Could not determine API base URL — the key's region prefix isn't recognized. Set ENGAGELAB_EMAIL_BASE_URL explicitly.
  • Reply shows up as a new conversation — use reply_email (not send_email) so In-Reply-To headers and threading stay intact.

Roadmap

  • Hosted MCP (OAuth) for zero-config remote use
  • Programmatic mailbox creation via Secret Key
  • Webhook push (no polling) for check_new_messages
  • URL-based attachment references (no base64 in context)

Run from source

bash
git clone https://github.com/Metaverse-Cloud/engagelab-email-mcp
cd engagelab-email-mcp
npm install && npm run build
ENGAGELAB_EMAIL_SECRET_KEY=sk_sg_xxx node dist/index.cjs

Related

License

MIT

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Engagelab Email

engagelab-email is an MCP server that lets AI agents send, receive, monitor, and reply to email through dedicated mailboxes. It provides threaded conversation context, supports sandbox testing, and works with MCP-compatible clients including Claude Desktop, Claude Code, Cursor, and Cowork. It runs locally over stdio rather than as a hosted HTTP or OAuth endpoint.

Configure it as a local stdio server using npx and the @engagelabemail/mcp package. Set ENGAGELAB_EMAIL_SECRET_KEY in the server environment, then add the provided configuration to an MCP client such as Claude Desktop or Claude Code.

It supports sending new emails, replying to messages, receiving and filtering inbound mail, checking for new messages, retrieving full message details, and browsing threads. Available tools include send_email, reply_email, list_inbound_messages, check_new_messages, get_message, list_threads, get_thread, and list_thread_messages.

It groups related replies into threads so an agent can inspect conversation history. Agents can use list_threads, get_thread, and list_thread_messages to browse conversations, while reply_email infers recipients and the thread from the message being answered.

No, engagelab-email is distributed as a local stdio MCP server.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewEngagelab Email AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/engagelab-email?style=directory)](https://allmcps.com/mcp/engagelab-email)
HTML Embed
<a href="https://allmcps.com/mcp/engagelab-email"><img src="https://allmcps.com/api/badge/engagelab-email?style=directory" alt="Engagelab Email on AllMCPs" /></a>