Mailappmcp logo

Mailappmcp

Connects AI clients to macOS Mail.app for searching, reading, composing, sending, and managing email locally.

Install Mailappmcp

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": {
    "mailappmcp": {
      "command": "npx",
      "args": [
        "-y",
        "mailappmcp"
      ]
    }
  }
}

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 didn't complete successfully in our automated test.

npx -y mailappmcp

npm error notsup Unsupported platform for mailappmcp@0.4.1: wanted {"os":"darwin"} (current: {"os":"linux"}) npm error notsup Valid os: darwin npm error notsup Actual os: linux npm notice npm notice New major version of npm available! 10.9.9 -> 12.2.3 npm notice Changelog: https://github.com/npm/cli/releases/tag/v12.2.3 npm notice To update run: npm install -g npm@12.2.3 npm notice npm error A complete log of this run can be found in: /home/user/.npm/_logs/2026-11-27T16_43_55_028Z-debug-0.log

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 .

Overview

mailappmcp MCP server exposes macOS Mail.app through AppleScript for local email access from Claude Code, Claude Desktop, and other MCP clients. It works with accounts configured in Mail.app, including iCloud, Gmail, Outlook, and Fastmail. The 21 tools cover mailbox discovery, message search and reading, attachments, composition, sending, replies, forwarding, and message organization. Reach for it when an agent needs to work with Mail.app without API keys, OAuth, or cloud services.

Use cases

  • Search Mail.app messages by sender or subject
  • Read email content and inspect raw message source
  • Save attachments from messages to disk
  • Draft or send HTML email with attachments
  • Organize messages by moving, flagging, or marking them

Key features

  • AppleScript access to macOS Mail.app
  • Search and read messages
  • Draft and send plain-text or HTML email
  • Reply, forward, and redirect messages
  • Attachment listing and saving
  • Mailbox and message organization

Security & health

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

ActiveLast checked

Recent health check succeeded.

25/29 checks healthy over the last 111d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 11d ago via OSV.dev · mailappmcp (npm)

Adoption & maintenance

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

GitHub stars5Stargazers on the source repository.
npm downloads219Package downloads in the last 30 days.
Last commit2mo agoMost recent push to the default branch.
Install checkInconclusiveInstall command did not finish in our automated test.
Directory activity4 viewsConfig copies, upvotes, and views on AllMCPs.

How Mailappmcp works

What the mailappmcp MCP server does

The mailappmcp MCP server gives an MCP client access to email managed by macOS Mail.app. It operates on the accounts already configured in Mail.app, so it can work with services such as iCloud, Gmail, Outlook, and Fastmail without connecting to each provider through a separate API.

Its 21 tools cover both inspection and mailbox actions. An agent can enumerate accounts and mailboxes, including unread counts, list available signatures, search by subject or sender, read a message, retrieve raw RFC822 source, and inspect or save attachments. It can also create drafts, send messages, reply or reply-all, forward, redirect, and apply mailbox changes.

How it works

The server runs locally on a Mac and communicates with the native Mail.app application through AppleScript. It does not use API keys, OAuth, or cloud services. Claude Code, Claude Desktop, or another MCP client can invoke the tools while Mail.app provides access to the configured email accounts.

Message operations use identifiers supplied by Mail.app. For example, messages can be moved or deleted by Message-ID, while replies preserve the existing thread. Composition supports plain text or an HTML body through the htmlBody option, and messages can include attachments. compose-message creates a draft and does not send it; send-message sends immediately.

Tools and capabilities

The available tools include:

  • Discover accounts, mailboxes, unread counts, and signatures.
  • Search messages by subject or sender, or list all messages with an empty query.
  • Read full message content and retrieve raw source.
  • List attachment names, MIME types, and sizes, then save attachments to disk.
  • Create drafts or send plain-text and HTML email with optional attachments.
  • Reply, reply-all, forward, or redirect messages.
  • Move, delete, mark read, mark junk, flag, and color messages.
  • Trigger a new-mail fetch for one account or all accounts.
  • Parse a display-formatted address into a name and email address.

The flagging tools support colors, and the reply tools support HTML content and attachments. These capabilities make the server suitable for both read-oriented assistants and agents that perform mailbox maintenance or send messages on a user's behalf.

Limitations and notes

The mailappmcp MCP server depends on macOS Mail.app and the accounts configured there; it is not presented as a provider-neutral hosted email service.

Sending is distinct from drafting: compose-message leaves a draft in Mail.app, while send-message sends the email immediately. Actions such as deletion, moving messages, changing junk status, or modifying flags alter Mail.app state. Agents should therefore use the appropriate operation for the intended level of user control.

The repository description names Claude Code and Claude Desktop as clients and states that other MCP clients can use the native app servers.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

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

Frequently Asked Questions about Mailappmcp

mailappmcp is an MCP server that connects Claude or another MCP client to macOS Mail.app through AppleScript. Its main tools list accounts and mailboxes, search and read messages, inspect and save attachments, compose or send mail, reply, forward, move, delete, and update message state.

It states that the server runs locally on a Mac and is used by Claude Code, Claude Desktop, or another MCP client through Mail.app.

Yes, when the Gmail account is configured in macOS Mail.app. The server works with every email account configured there, and the README explicitly lists Gmail alongside iCloud, Outlook, and Fastmail.

Yes, `send-message` sends an email immediately, while `compose-message` creates a draft without sending it. Both support plain or HTML content, and the sending tool supports attachments.

It says the server can be used by any MCP client, while explicitly identifying Claude Code and Claude Desktop as supported clients.

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 PreviewMailappmcp AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/mailappmcp?style=directory)](https://allmcps.com/mcp/mailappmcp)
HTML Embed
<a href="https://allmcps.com/mcp/mailappmcp"><img src="https://allmcps.com/api/badge/mailappmcp?style=directory" alt="Mailappmcp on AllMCPs" /></a>