Live survey315 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

MCP server · Audited from source

Better Email MCP server

by n24q02m/better-email-mcpApache-2.0 licenceAudited 8 Oct 2026 · source 70586e7895a9

npm @n24q02m/better-email-mcp 1.41.5stdiostreamable-http★ 33
!CAUTIONGrade C · 76/100 · 8 Oct 2026 · 70586e7
33GitHub stars

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.

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
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

Trust score76/100!CAUTION C
0 critical0 high3 medium23 low0 info

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

LayerWhat we checkResult
L0 ProvenanceRepo owner, licence, archive status, activityPASS 5 findings
L1 Static sourceSecrets, path traversal, supply chainWARN 14 findings
L2 InstructionsPrompt injection and authority framing in docs and tool descriptionsPASS 6 findings
L3 InventoryDeclared tools match the sourcePASS
L4 SandboxRun in isolation and watch behaviourSKIPPED

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-mcp at 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
F-12 Information disclosureCWE-209 · CWE-532Layer L1
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
F-12 Information disclosureCWE-209 · CWE-532Layer L1
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
F-12 Information disclosureCWE-209 · CWE-532Layer L1
print("TOKEN OK len=", len(token), "sub=", _sub_of(token))
Why
No further detail recorded for this rule.
Fix
—
LOWInventory / provenanceinv.hidden_file · .coderabbit.yaml
F-13 Inventory / provenanceCWE-1104Layer L0
.coderabbit.yaml
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWInventory / provenanceinv.hidden_file · .gitguardian.yaml
F-13 Inventory / provenanceCWE-1104Layer L0
.gitguardian.yaml
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWInventory / provenanceinv.hidden_file · .infisical.json
F-13 Inventory / provenanceCWE-1104Layer L0
.infisical.json
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWInventory / provenanceinv.hidden_file · .mise.toml
F-13 Inventory / provenanceCWE-1104Layer L0
.mise.toml
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWInventory / provenanceinv.hidden_file · .pre-commit-config.yaml
F-13 Inventory / provenanceCWE-1104Layer L0
.pre-commit-config.yaml
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWFilesystem / pathfs.traversal · src/tools/composite/config.test.ts:2
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
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
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
vi.mock('../../credential-state.js', () => ({
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · src/tools/composite/config.test.ts:25
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
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
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
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
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
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
F-04 Network egressCWE-200 · CWE-319Layer L1
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
F-04 Network egressCWE-200 · CWE-319Layer L1
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
F-04 Network egressCWE-200 · CWE-319Layer L1
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
F-04 Network egressCWE-200 · CWE-319Layer L1
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
F-04 Network egressCWE-200 · CWE-319Layer L1
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
F-08 Supply chainCWE-829 · CWE-1357Layer L1
@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
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
- **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
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
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
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
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
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
[![codecov](https://codecov.io/gh/n24q02m/better-email-mcp/graph/badge.svg?token=O2GWBWCZGF)](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
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
| `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
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
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

3 read1 write0 destructive
ToolRiskWhat it does
messageswriteSearch, read, manage, compose, and send email messages.\n\nActions (required params -> optional):\n- search (-> account, query=
config__open_relayreadOpen 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.
foldersreadList 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
helpreadGet 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

  1. !CAUTION C 76 / 100

    First audit · 70586e7895a9

README badge

For maintainers · updates on every re-audit

ModelsAtlas: CAUTION CMODELSATLASCAUTION · C
[![ModelsAtlas: CAUTION C](https://modelsatlas.com/mcp/n24q02m/better-email/badge.svg)](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?
IMAP/SMTP email for AI agents -- read, send, organize folders, and manage attachments across multiple accounts, with auto-discovery.
What tools does Better Email expose?
4 in total: 3 read-only, 1 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is Better Email safe to connect to an agent?
With care. The audit graded it C (76/100) and found 25 things worth knowing before you trust this server, listed below with the exact line each was found on.
What credentials does Better Email need?
It reads CF_EMAIL_CREDENTIALS, CLOUDFLARE_API_TOKEN, CREDENTIAL_SECRET, EMAIL_APP_PASSWORD, EMAIL_CREDENTIALS, MCP_AUTH_DISABLE and MCP_RELAY_PASSWORD from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How does Better Email run?
It speaks stdio and streamable-http, so it runs as a local process your client starts. It is published on npm as @n24q02m/better-email-mcp at 1.41.5.
How current is this page?
The grade is for one exact copy of the source (70586e7895a9), read on 2026-10-08. The repository is watched and re-audited when it changes.

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.