Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

Email Agent MCP

MCP server by UseJunior Verified · npm:@usejunior

Email Agent MCP gives AI assistants access to Microsoft 365 / Outlook mailboxes through MCP. Agents can read, search, draft, label and move mail, but cannot send until a send allowlist is configured.

  • Score 76
  • 7 stars
  • 206 a week
  • Apache-2.0
  • Updated

Install Email Agent MCP

Built from the published package, never by AI.

claude mcp add email-agent-mcp -- npx -y @usejunior/email-agent-mcp

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install Email Agent MCP in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the email-agent-mcp block.

About

Email Agent MCP is an open-source TypeScript MCP server from UseJunior, published as email-agent-mcp. It lets Claude Code, Cursor, Gemini CLI, OpenClaw and other MCP-compatible runtimes read email, search threads, draft replies, label messages, change read state, move messages and send mail through your own mailbox. Microsoft 365 / Outlook and Gmail are supported today.

Security defaults block sending until you configure an allowlist, and delete is disabled by default. Errors are sanitized to strip API keys, file paths and stack traces. A setup wizard walks you through OAuth configuration and mailbox selection. It suits people who want AI agents to handle email with explicit guardrails.

Written from the project's README and checked against it.

Tools it gives your assistant

  • list_emailsList recent emails with filtering.
  • read_emailRead full email content as markdown, or raw HTML with format html.
  • search_emailsFull-text search across mailboxes.
  • get_threadGet the full conversation context for a message.
  • create_draftCreate an email draft.
  • send_emailSend a new email, gated by the send allowlist.
  • reply_to_emailReply within a thread, gated by the send allowlist.
  • label_emailApply labels or categories to emails.
  • mark_readMark emails as read or unread.
  • move_to_folderMove emails between folders.

What you need

  • A Microsoft 365 / Outlook or Gmail mailbox
  • OAuth configuration for the mailbox
  • npx to run the package (Node.js)
  • A send allowlist to enable sending

Try asking

  • List my most recent emails from today
  • Search my inbox for invoices from last month
  • Show me the full thread for the project update email

Good to know

  • Gmail does not support label_email, flag_email, mark_read or move_to_folder and returns NOT_SUPPORTED for them.
  • Delete is disabled by default and needs an explicit opt-in.
  • Agents cannot send email until an allowlist is configured.
  • The observe scope profile only narrows the OAuth token if the mailbox never consented to write scopes.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to Email Agent MCP

All alternatives →

Compare with Jitsu, Vexa or Linkedin MCP server

Email Agent MCP: common questions

Can an AI agent send email with this MCP server?

Yes, but agents cannot send email until you explicitly configure a send allowlist. Sending tools such as send_email and reply_to_email are gated by that allowlist.

Which email providers does Email Agent MCP support?

The source says Microsoft 365 / Outlook and Gmail are supported today. Some mutation tools are not implemented for Gmail.

Can I make the server read-only?

Yes. Setting EMAIL_AGENT_MCP_SCOPE_PROFILE to observe removes write tools from the tool list, though the source notes this does not fully narrow an existing OAuth token.

How do I install Email Agent MCP?

In Claude Code run claude mcp add email-agent-mcp -- npx -y @usejunior/email-agent-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is Email Agent MCP the official server?

Email Agent MCP is published by npm:@usejunior from its verified domain in the official MCP Registry.

Is Email Agent MCP free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is Email Agent MCP safe to use?

It scores 76 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to Email Agent MCP?

Similar MCP servers: Jitsu, Vexa, Linkedin MCP server, Netsapiens MCP.

Does Email Agent MCP work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

Email Agent MCP Install

Add to stack

Loading.