MCP server · Audited from source
Mail MCP server
by yunfeizhu/mcp-mail-serverMIT licenceAudited 8 Oct 2026 · source cd2280b9ee4b
Is it safe? Yes — SAFE, grade B (89/100). It exposes 12 tools: 7 read, 4 write and 1 destructive. The audit recorded 4 findings (0 critical, 0 high, 1 medium, 3 low). Maintainer's description: A lightweight Model Context Protocol (MCP) server that provides IMAP and SMTP email functionality for AI assistants like Claude in Cursor IDE. Built with TypeScript and optimized for easy deployment via npm/npx.
Cite
Cite this page
ModelsAtlas. “Mail MCP server (yunfeizhu/mcp-mail-server)”. Retrieved 8 Oct 2026. https://modelsatlas.com/mcp/yunfeizhu/mail-1
2 MCP servers are called Mail. This is the one we pick. Compare all 2 →
- yunfeizhu/mcp-mail-server★ 51✓SAFE
- shuakami/mcp-mail★ 49!CAUTION
Trust audit
Audit 0.4.1 · full source read 8 Oct 2026
4 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.
What the source does
- FilesystemDeclared1 observation
- NetworkNone observedNothing seen in the source
- ShellNone observedNothing seen in the source
- DependenciesNot pinnedSome ranges float
- SecretsNone foundNo keys in source
“Declared” means the server says it does this and the source agrees. Browser, file and shell access are expected of some kinds of server.
Five audit layers
| Layer | What we check | Result |
|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS 2 findings |
L1 Static source | Secrets, path traversal, supply chain | PASS 1 finding |
L2 Instructions | Prompt injection and authority framing in docs and tool descriptions | PASS |
L3 Inventory | Declared tools match the source | WARN 1 finding |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED |
Provenance & runtime
Who published it, and what the audit could and could not run
Provenance
- Repository owner
yunfeizhuUser accountAccount type recorded when we read the repository. - PackagePublished on npm
mcp-mail-serverat version 2.1.0 - LicenceMITFrom the repository, as read at the audited commit.
- Last push11 days agoActivity of the repository when we read it.
- Source commit readcd2280b9ee4bThe audit covers exactly this commit, read on 8 Oct 2026.
Runtime
- Sandbox runNot run yetThis audit read the source only; it did not execute the server.
- Tool inventory12 declaredRead from the source and classed read, write or destructive.
Every value here is read from the record's own repository and audit.Suggest a correction
Findings (4)
Sorted by severity
MEDIUMFilesystem / pathmcp.destructive_tools
delete_message
- Why
- 1 tool(s) can delete or overwrite
- Fix
- prefer a read-only mode or scoped tokens; the page states the blast radius
LOWSupply chainsupply.unpinned · package.json
@modelcontextprotocol/sdk, imap, mailparser, nodemailer, zod, @eslint/js, @rollup/plugin-node-resolve, @rollup/plugin-terser
- Why
- 20 dependency range(s) float
- Fix
- pin exact versions or ship a lockfile
Tools it exposes
12 declared in source · 1 destructive
1 tool can delete or overwrite. An agent that can be talked into calling a tool can be talked into calling this one, so give it a token scoped to what you need.
| Tool | Risk | What it does |
|---|---|---|
delete_message | destructive | Permanently delete one existing mailbox-scoped message using targeted UID EXPUNGE. Fails safely when the UID is missing or the IMAP server lacks UIDPLUS, and returns a structured unknown outcome when a transport failure prevents confirmation. |
get_message | write | Retrieve one message, including full bodies and attachment metadata. Set markSeen only when the message should be marked as read. |
move_message | write | Move an existing mailbox-scoped message to another existing mailbox. If a move, copy, or source-cleanup outcome cannot be confirmed, returns a structured partial error that must be inspected before retrying. |
save_attachment | write | Save one or all attachments from a mailbox-scoped message into an allowed local directory. Select one attachment by zero-based index or exact filename. If a later write fails, returns the files already saved as a structured partial result. |
send_email | write | Send a new email via SMTP and try to save a MIME-equivalent copy with the accepted Message-ID to the sent mailbox. |
check_connection | read | Connect to IMAP when needed, actively verify SMTP, then return structured status for both services. |
continue_email_thread | read | Find the newest sent message with the same normalized subject, optionally narrowed by recipient and date, then continue its thread. Designed for recurring reports; reply-all and quoted history both default to true. |
find_unreplied_messages | read | Find messages from a sender that have no thread-header reply in the sent mailbox. Messages without Message-ID are returned separately as unknown. |
get_messages | read | Retrieve multiple messages from one mailbox, including full bodies and attachment metadata. Fails if any requested UID is missing or the aggregate response-body budget would be exceeded. |
list_mailboxes | read | List all available mailboxes (folders). Auto-connects to IMAP when needed. |
reply_to_email | read | Reply to a mailbox-scoped message with threading headers, optional reply-all recipients, signature, and quoted original content. |
search_messages | read | Search one or more mailboxes with combined filters. Defaults to INBOX and the detected sent mailbox. Returns message summaries unless includeBody is true; full-body hydration fails explicitly if a selected message disappears or the aggregate response-body budget would be exceeded. |
Install
Package version 2.1.0 · audited commit cd2280b
One-click links open your editor with the config below filled in, exactly as the snippets show it, pinned to version 2.1.0. The audit covers commit cd2280b only.
claude mcp add mcp-mail-server -- npx -y [email protected]
{
"mcpServers": {
"mcp-mail-server": {
"command": "npx",
"args": [
"-y",
"[email protected]"
]
}
}
}The command pins the package version recorded in the source (2.1.0); the audit covers commit cd2280b9ee4b. Transport: stdio. No environment variables required.
Audit history
- ✓SAFE B 89 / 100
First audit ·
cd2280b9ee4b
README badge
For maintainers · updates on every re-audit
[](https://modelsatlas.com/mcp/yunfeizhu/mail-1/)
The badge always shows the latest audit; a maintainer cannot pin an old verdict.
Other ratings
Cited, never blended into our score
No third-party security ratings are recorded for this server yet. When they exist they appear here with their source and date, beside, not inside, our grade.
Questions about Mail MCP server
What is the Mail MCP server?
What tools does Mail expose?
Is Mail safe to connect to an agent?
What credentials does Mail need?
How does Mail run?
How current is this page?
Which Mail MCP server is the right one?
Sources
- yunfeizhu/mcp-mail-server on GitHub — the source we read, its licence, stars and activityObserved · 8 Oct 2026
- ModelsAtlas trust audit — SAFE verdict for commit cd2280b9ee4bObserved · 8 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What is the Mail MCP server?
- What tools does Mail expose?
- Is Mail safe to connect to an agent?