MCP server · Audited from source
Better Email MCP server
by n24q02m/better-email-mcpApache-2.0 licenceAudited 8 Oct 2026 · source 70586e7895a9
Is it safe? With care — CAUTION, grade C (76/100). It exposes 4 tools: 3 read, 1 write and 0 destructive. The audit recorded 26 findings (0 critical, 0 high, 3 medium, 23 low). Maintainer's description: IMAP/SMTP email for AI agents -- read, send, organize folders, and manage attachments across multiple accounts, with auto-discovery.
Cite
Cite this page
ModelsAtlas. “Better Email MCP server (n24q02m/better-email-mcp)”. Retrieved 8 Oct 2026. https://modelsatlas.com/mcp/n24q02m/better-email
Trust audit
Audit 0.4.1 · full source read 8 Oct 2026
26 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
- FilesystemDeclared2 observations
- NetworkDeclared5 observations
- ShellDeclared3 observations
- 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 5 findings |
L1 Static source | Secrets, path traversal, supply chain | WARN 14 findings |
L2 Instructions | Prompt injection and authority framing in docs and tool descriptions | PASS 6 findings |
L3 Inventory | Declared tools match the source | PASS |
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
n24q02mUser accountAccount type recorded when we read the repository. - PackagePublished on npm
@n24q02m/better-email-mcpat version 1.41.5 - LicenceApache-2.0From the repository, as read at the audited commit.
- Last pushArchivedThe repository is archived: it will not be updated.
- Source commit read70586e7895a9The 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 inventory4 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 (26)
Sorted by severity · the 25 most severe of 26 are listed
MEDIUMInformation disclosuredisclose.log_secret · scripts/cf_full_flow.py:555
print("TOKEN OK len=", len(token), "sub=", _sub_of(token))- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMInformation disclosuredisclose.log_secret · scripts/cf_full_flow.py:631
print("AUTH-ONLY: replaying saved token for sub=", _sub_of(token), "(no re-save)")- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMInformation disclosuredisclose.log_secret · scripts/cf_full_flow.py:649
print("TOKEN OK len=", len(token), "sub=", _sub_of(token))- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · src/tools/composite/config.test.ts:2
import { subjectContext } from '../../auth/subject-context.js'- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · src/tools/composite/config.test.ts:6
vi.mock('../../credential-state.js', () => ({- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · src/tools/composite/config.test.ts:25
import { getSetupUrl, getState, resetState, resolveCredentialState } from '../../credential-state.js'- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · src/tools/composite/config.ts:13
import { currentSub } from '../../auth/subject-context.js'- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · src/tools/composite/config.ts:14
import type { CredentialState } from '../../credential-state.js'- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · src/tools/composite/config.test.ts:189
mockGetSetupUrl.mockReturnValue('http://127.0.0.1:8080/authorize')- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · src/tools/composite/config.test.ts:196
setup_url: 'http://127.0.0.1:8080/authorize'
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · src/tools/registry-open-relay.test.ts:8
url: 'http://127.0.0.1:51234/authorize?session=abc',
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · src/transports/http.test.ts:76
expect(resolveSetupBaseUrl(undefined, '127.0.0.1', 3000)).toBe('http://127.0.0.1:3000')- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · tests/e2e.test.ts:148
const HTTP_E2E_URL = `http://127.0.0.1:${HTTP_E2E_PORT}`- Why
- No further detail recorded for this rule.
- Fix
- —
LOWSupply chainsupply.unpinned · package.json
@modelcontextprotocol/sdk, html-to-text, imapflow, mailparser, marked, nodemailer, sanitize-html, @biomejs/biome
- Why
- 20 dependency range(s) float
- Fix
- pin exact versions or ship a lockfile
LOWPrompt injectionprompt.credential_read · README.md:81
- **4 composite tools** with 23 actions (plus `help` + `config__open_relay`) -- search, read, send, reply, forward, organize, and credential setup in single calls
- Why
- asks the agent to read credentials
- Fix
- —
LOWPrompt injectionprompt.credential_read · src/docs/config.md:6
This tool allows you to check the status of your email credentials, return the setup URL, reset your configuration, signal completion of external setup, and manage runtime caches. In HTTP mode the cre
- Why
- asks the agent to read credentials
- Fix
- —
LOWPrompt injectionprompt.transfer_instruction · CONTRIBUTING.md:55
export EMAIL_CREDENTIALS="[email protected]:your-app-password"
- Why
- an instruction to move sensitive data to an outside destination
- Fix
- remove; a skill never needs the user's secrets off the machine
LOWPrompt injectionprompt.transfer_instruction · README.md:12
[](https://codecov.io/gh/n24q02m/better-email-mcp)
- Why
- an instruction to move sensitive data to an outside destination
- Fix
- remove; a skill never needs the user's secrets off the machine
LOWPrompt injectionprompt.transfer_instruction · README.md:125
| `better-email-mcp` | Start the MCP server over **stdio** (default). Reads credentials from `EMAIL_CREDENTIALS`, or from `EMAIL_USER` + `EMAIL_APP_PASSWORD` |
- Why
- an instruction to move sensitive data to an outside destination
- Fix
- remove; a skill never needs the user's secrets off the machine
LOWPrompt injectionprompt.transfer_instruction · README.md:132
EMAIL_CREDENTIALS="[email protected]:app-password" npx @n24q02m/better-email-mcp
- Why
- an instruction to move sensitive data to an outside destination
- Fix
- remove; a skill never needs the user's secrets off the machine
Tools it exposes
4 declared in source · 0 destructive
| Tool | Risk | What it does |
|---|---|---|
messages | write | Search, read, manage, compose, and send email messages.\n\nActions (required params -> optional):\n- search (-> account, query= |
config__open_relay | read | Open the relay configuration form for better-email-mcp in the user browser. Returns the relay URL, whether the browser launched, and the current credential state. |
folders | read | List mailbox folders or read targeted mailbox status metadata.\n\nActions (required params -> optional):\n- list (-> account): folder names, paths, and flags for one or all accounts\n- status (account, folder): IMAP STATUS messages, unseen, and uid_next for exactly one mailbox |
help | read | Get full documentation for a tool. Use when compressed descriptions are insufficient. |
Install
Package version 1.41.5 · audited commit 70586e7
Read the findings first. The most severe is Information disclosure (medium) at scripts/cf_full_flow.py.
claude mcp add better-email-mcp --env EMAIL_CREDENTIALS=${EMAIL_CREDENTIALS} --env EMAIL_CREDENTIALS=${EMAIL_CREDENTIALS} -- npx -y @n24q02m/[email protected]The command pins the package version recorded in the source (1.41.5); the audit covers commit 70586e7895a9. Transport: stdio · streamable-http. Reads these environment variables: CF_EMAIL_CREDENTIALS, CLOUDFLARE_API_TOKEN, CREDENTIAL_SECRET, EMAIL_APP_PASSWORD, EMAIL_CREDENTIALS, MCP_AUTH_DISABLE, MCP_RELAY_PASSWORD. Give it the narrowest token it needs.
Audit history
- !CAUTION C 76 / 100
First audit ·
70586e7895a9
README badge
For maintainers · updates on every re-audit
[](https://modelsatlas.com/mcp/n24q02m/better-email/)
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 Better Email MCP server
What is the Better Email MCP server?
What tools does Better Email expose?
Is Better Email safe to connect to an agent?
What credentials does Better Email need?
How does Better Email run?
How current is this page?
Sources
- n24q02m/better-email-mcp on GitHub — the source we read, its licence, stars and activityObserved · 8 Oct 2026
- ModelsAtlas trust audit — CAUTION verdict for commit 70586e7895a9Observed · 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 Better Email MCP server?
- What tools does Better Email expose?
- Is Better Email safe to connect to an agent?