email-agent-mcp

Email Agent MCP Server

email-agent-mcp gives users of Claude Code, Cursor, and other MCP clients access to Microsoft 365 and Gmail mailboxes. Agents can search conversations, prepare replies, organize messages, and send mail to explicitly allowed recipients.

Server facts

email-agent-mcp

Project

Author
UseJunior
License
Apache-2.0

Tech

Runtime / language
node
Transports
stdio
Remote available
No
Authentication
Not specified

Activity

GitHub stars
6
Last commit
Data as of

Tags

  • ai agent
  • mail
  • mcp
  • microsoft 365
  • model context protocol
  • openclaw
  • outlook

Overview

Agent Email connects local AI workflows to Microsoft 365 and Gmail through MCP over stdio. Its tools cover filtered message lists, full-text searches, conversation retrieval, mailbox diagnostics, and reading bodies as Markdown or raw HTML. For correspondence, agents can compose drafts, revise supported draft fields, prepare threaded replies, and send approved messages with attachments. Separate tools list attachments and download supported files. Multiple mailboxes can be configured together; reads use the primary mailbox by default, while writes need a mailbox selection when more than one is configured.

Mailbox maintenance extends to categories, flags, read status, message moves, nested folders, and persistent inbox rules. Rule creation excludes forwarding, redirection, and deletion actions. Tools also expose pending provider-held scheduled sends and cancellation of verified scheduled drafts. An OpenClaw watcher polls configured mailboxes and signals when new messages arrive. Sending starts blocked until recipients are allowlisted, and deletion is disabled unless explicitly configured. Additional safeguards include sanitized error responses and sandboxed file access. OAuth setup is interactive, and the project runs locally.

email-agent-mcp setup notes

  • email-agent-mcp records stdio only; confirm a network transport upstream before planning remote access.

Related MCP servers