# MCP Emails [Health: Active]

**Category:** 💬 Communication  
**Repository:** https://github.com/Albretsen/MCPEmails  
**GitHub Stars:** 14  
**Views:** 8  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/mcp-emails-2

## Description
Read, search, send, organize, draft and schedule email across your inboxes from any MCP client.

## Tools
Capabilities this server exposes over MCP:

- **inbox_list** — read:email
- **email_read** — read:email` (`search` also accepts `search:email`)
- **email_organize** — manage:folders
- **email_search_and_move** — manage:folders
- **email_delete** — delete:email
- **email_compose** — send:email
- **folder_list** — read:email
- **folder** — manage:folders
- **draft_list** — manage:drafts
- **draft** — manage:drafts` (create/reply/update/delete), `read:email` (reply also), `send:email` (send)
- **schedule_list** — schedule:email
- **schedule** — schedule:email
- **reminder_list** — read:email
- **reminder** — manage:automations` (`snooze`, and `cancel` of a snooze, also need `manage:folders`)
- **signature_get** — read:email
- **signature_set** — send:email
- **automation_read** — manage:automations
- **automation** — manage:automations
- **contact_search** — manage:contacts` (also accepts `read:email`)
- **draft_read** — manage:drafts` and `read:email
- **draft_editor_hide** — manage:drafts

## Claude Desktop Quick Installation
Remote MCP endpoint (confidence: high). Install path detected from listing signals. Add as a URL/SSE server in your client:

```json
"mcpServers": {
  "mcp-emails": {
    "url": "https://mcpemails.com/api/mcp"
  }
}
```

## Documentation

## What MCP Emails does

MCP Emails connects AI agents to mailboxes through the Model Context Protocol. Supported connections include Outlook and Microsoft 365 through Microsoft Graph, Gmail through IMAP with a Google app password, and IMAP/SMTP accounts such as Fastmail, iCloud, Yahoo, Zoho, Yandex, and self-hosted mail systems. Multiple inboxes can be available through one MCP endpoint.

The service fetches messages from the provider when a tool is called rather than maintaining a server-side mailbox mirror or cache. Outbound messages are sent through the connected provider, using the account's real address. A self-hosted Docker deployment is also available.

## How it works

Clients connect to `https://mcpemails.com/api/mcp` using JSON-RPC 2.0 over MCP's Streamable HTTP transport. OAuth-capable clients can authorize through OAuth 2.0 with PKCE. Other clients can send a scoped API key as a bearer token.

A session should begin with `inbox_list`. The response identifies accessible inboxes, provider capabilities, and a compatibility profile for normalized operations. That profile can distinguish operations that are exact, provider-specific, or unavailable, allowing an agent to account for differences between Gmail, Microsoft Graph, and IMAP.

Permissions are assigned by scope and can be limited per API key and per inbox. This allows a key to grant reading without granting sending or deletion. For providers that reject cloud-originated connections, an HTTP CONNECT relay can carry the IMAP/SMTP connection while TLS remains established with the provider.

## Setup and configuration

Connect an inbox through the MCP Emails service, then add the endpoint to the selected MCP client. OAuth setup is available for Claude, Claude Desktop, Cursor, and other OAuth-capable clients. API-key configuration uses an HTTP `Authorization` header:

```json
{
  "mcpServers": {
    "mcpemails": {
      "url": "https://mcpemails.com/api/mcp",
      "headers": {
        "Authorization": "Bearer mcpe_your_key_here"
      }
    }
  }
}
```

API keys are created with selected scopes and can optionally be restricted to particular inboxes. The service encrypts stored credentials with AES-256-GCM and decrypts them on the server only for the request that needs them.

## Tools and capabilities

The tool set covers:

- Listing accessible inboxes and folders.
- Reading, batching, searching, and extracting attachment text from messages, including access to original `.eml` content.
- Moving, copying, flagging, archiving, deleting, or permanently deleting messages.
- Applying search-and-move or search-and-delete operations to matching messages.
- Creating, reading, editing, replying to, sending, and removing drafts.
- Composing, replying to, and forwarding mail through the connected provider.
- Creating and listing scheduled messages, reminders, signatures, contacts, and automations.
- Hiding the draft editor when supported by the client workflow.

Search requests normalize Gmail syntax, Microsoft Graph KQL, and IMAP `SEARCH` behind the `email_read` search action. Batch operations can act on large groups of messages, so destructive scopes should be granted carefully.

## Limitations and notes

Provider capabilities differ. The compatibility profile returned by `inbox_list` identifies those differences instead of treating every provider as identical. Gmail labels are represented alongside folders, while other providers expose their own folder model.

Email content is fetched on demand and is not retained by the hosted service. Credentials are encrypted at rest, but using send, delete, folder-management, or automation features requires granting the corresponding permission scopes. The server is licensed under AGPL-3.0.

_Full upstream README: https://allmcps.com/mcp/mcp-emails-2/readme_

