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

MCP server · Audited from source

Email MCP server

by codefuturist/email-mcpLGPL-3.0 licenceAudited 7 Oct 2026 · source d188fe5ee334

npm @codefuturist/email-mcp 0.2.3stdiostreamable-http★ 125
✕BLOCKGrade D · 69/100 · 7 Oct 2026 · d188fe5

Is it safe? No — BLOCK, grade D (69/100). It exposes 50 tools: 32 read, 13 write and 5 destructive. The audit recorded 17 findings (0 critical, 1 high, 4 medium, 11 low). Maintainer's description: Email MCP server with full IMAP + SMTP support — read, search, send, manage, and organize email from any AI assistant via the Model Context Protocol

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “Email MCP server (codefuturist/email-mcp)”. Retrieved 7 Oct 2026. https://modelsatlas.com/mcp/codefuturist/email-16

Why this is BLOCK. The audit found 0 critical and 1 high findings; the most severe is Network egress at src/__integration__/helpers/seed.ts:28. Each finding is listed below with its file and line.

Why this page is still public. People search for this server by name. Hiding it would leave them with the README's word alone; here they see what the code does. We list it so you can decide, and we do not show connect commands for BLOCK servers.

3 MCP servers are called Email. You are viewing codefuturist/email-mcp. Compare all 3 →

Trust audit

Audit 0.4.1 · full source read 7 Oct 2026

Trust score69/100✕BLOCK D
0 critical1 high4 medium11 low1 info

17 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

  • FilesystemDeclared6 observations
  • NetworkDeclared7 observations
  • ShellDeclared5 observations
  • DependenciesNot pinnedSome ranges float
  • SecretsNone foundNo keys in source

Findings (17)

Sorted by severity

HIGHNetwork egressnet.tls_off · src/__integration__/helpers/seed.ts:28
F-04 Network egressCWE-200 · CWE-319Layer L1
tls: { rejectUnauthorized: false },
Why
certificate verification is disabled
Fix
leave verification on
MEDIUMInformation disclosuredisclose.log_secret · src/cli/config-commands.ts:82
F-12 Information disclosureCWE-209 · CWE-532Layer L1
console.log(`  password = ${'•'.repeat(8)}\n`);
Why
No further detail recorded for this rule.
Fix
—
MEDIUMNetwork egressnet.raw_ip · src/main.ts:354
F-04 Network egressCWE-200 · CWE-319Layer L1
process.stderr.write(`  Endpoint : http://0.0.0.0:${port}/mcp\n`);
Why
No further detail recorded for this rule.
Fix
—
MEDIUMNetwork egressnet.raw_ip · src/main.ts:355
F-04 Network egressCWE-200 · CWE-319Layer L1
process.stderr.write(`  Health   : http://0.0.0.0:${port}/health\n`);
Why
No further detail recorded for this rule.
Fix
—
MEDIUMFilesystem / pathmcp.destructive_tools
F-05 Filesystem / pathCWE-22 · CWE-59Layer L3
delete_email, delete_label, delete_mailbox, remove_label, send_draft
Why
5 tool(s) can delete or overwrite
Fix
prefer a read-only mode or scoped tokens; the page states the blast radius
LOWInventory / provenanceinv.hidden_file · .goreleaser.yaml
F-13 Inventory / provenanceCWE-1104Layer L0
.goreleaser.yaml
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWInventory / provenanceinv.hidden_file · .goreleaser.yaml.legacy
F-13 Inventory / provenanceCWE-1104Layer L0
.goreleaser.yaml.legacy
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWFilesystem / pathfs.traversal · src/__integration__/helpers/config.ts:2
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import type { AccountConfig } from '../../types/index.js';
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · src/__integration__/helpers/services.ts:1
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import ConnectionManager from '../../connections/manager.js';
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · src/__integration__/helpers/services.ts:2
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import RateLimiter from '../../safety/rate-limiter.js';
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · src/__integration__/helpers/services.ts:3
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import ImapService from '../../services/imap.service.js';
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · src/__integration__/helpers/services.ts:4
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import SmtpService from '../../services/smtp.service.js';
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · src/safety/validation.test.ts:72
F-04 Network egressCWE-200 · CWE-319Layer L1
expect(() => validateWebhookUrl('https://127.0.0.1/hook')).toThrow('loopback or private');
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · src/safety/validation.test.ts:76
F-04 Network egressCWE-200 · CWE-319Layer L1
expect(() => validateWebhookUrl('https://10.0.0.1/hook')).toThrow('loopback or private');
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · src/safety/validation.test.ts:80
F-04 Network egressCWE-200 · CWE-319Layer L1
expect(() => validateWebhookUrl('https://172.16.0.1/hook')).toThrow('loopback or private');
Why
No further detail recorded for this rule.
Fix
—
LOWSupply chainsupply.unpinned · package.json
F-08 Supply chainCWE-829 · CWE-1357Layer L1
@clack/prompts, @modelcontextprotocol/sdk, imapflow, node-ical, nodemailer, smol-toml, zod, @biomejs/biome
Why
20 dependency range(s) float
Fix
pin exact versions or ship a lockfile
INFOPrompt injectionprompt.credential_read · SECURITY.md:21
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
- **No credential storage** — passwords and tokens are read from your local config file or environment variables at runtime
Why
asks the agent to read credentials
Fix
—

Tools it exposes

50 declared in source · 5 destructive

32 read13 write5 destructive

5 tools 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.

ToolWhat it doesRisk
delete_emailDelete an email. By default moves to Trash. Set permanent=true for permanent deletion (⚠️ irreversible).destructive
delete_labelDelete a label. For ProtonMail, deletes the label folder.destructive
delete_mailbox⚠️ DESTRUCTIVE: Permanently delete a mailbox and ALL its contents. This cannot be undone. Use list_mailboxes to verify the folder path.destructive
remove_labelRemove a label from an email. For ProtonMail, this removes the email from the label folder.destructive
send_draftSend an existing draft email and remove it from Drafts. The draft is fetched, sent via SMTP, then deleted. Use list_emails with the Drafts mailbox to find draft IDs.destructive
add_labelAdd a label to an email.write
add_to_calendarNo description in the sourcewrite
apply_templateApply an email template with variable substitution. Use actionwrite
configure_alertsUpdate alert/notification settings at runtime. Changes take effect immediately.write
create_labelCreate a new label. For ProtonMail, creates a folder under Labels/.write
create_mailboxCreate a new mailbox (folder). Usewrite
create_reminderNo description in the sourcewrite
move_emailMove an email to a different mailbox folder.write
rename_mailboxRename an existing mailbox (folder). Use list_mailboxes to see current folder paths.write
save_draftSave an email draft to the Drafts folder. Compose over time, then use send_draft to send it. Use list_emails with the Drafts mailbox to see saved drafts.write
schedule_emailSchedule an email to be sent at a specific time in the future. The email is queued locally and sent automatically when the time arrives.write
send_emailSend a new email. Supports plain text or HTML body, CC, and BCC.write
test_notificationSend a test desktop notification to verify that OS permissions are correctly configured.write
CustomFull control. Provide your own system_prompt in config. The preset contributes nothing — you define everything.read
analyze_email_for_schedulingNo description in the sourceread
bulk_actionBatch operation on multiple emails by UID list. Supports mark_read, mark_unread, flag, unflag, move, and delete. Max 100 IDs per call. Returns success/failure counts.read
cancel_scheduledCancel a scheduled email. Removes it from the queue and deletes the associated draft.read
check_calendar_permissionsNo description in the sourceread
check_healthCheck connection health, quota, and capabilities for email accounts. Useful for diagnosing issues.read
check_notification_setupDiagnose desktop notification support on this platform.read
download_attachmentDownload an email attachment by filename. First use get_email to see available attachments and their filenames. Returns base64-encoded content for files ≤5MB.read
extract_calendarExtract calendar events (ICS/iCalendar) from an email. Returns structured event data including time, location, attendees, and status.read
extract_contactsExtract unique contacts from recent email headers. Returns contacts sorted by frequency (most frequent first). Useful for finding frequent correspondents or building an address book.read
find_email_folderFind which real mailbox folder(s) an email belongs to.read
forward_emailForward an email to new recipients with optional additional message. Original email is quoted below.read
get_emailGet the full content of a specific email by ID.read
get_email_statsGet email statistics and analytics for a mailbox. Shows volume, top senders, daily trends, and read/flagged counts.read
get_email_statusGet the current read/flag/label state of an email without fetching its body.read
get_emailsFetch the full content of multiple emails in a single call (max 20).read
get_hooks_configGet the current AI hooks configuration including preset, rules, and custom instructions.read
get_threadReconstruct a full email conversation thread by following References and In-Reply-To headers.read
get_watcher_statusGet the status of IMAP IDLE watcher connections and recent activity.read
list_accountsList all configured email accounts. Call this first to discover available account names for use with other tools.read
list_calendarsNo description in the sourceread
list_emailsList emails in a mailbox with optional filters. Returns paginated results with metadataread
list_eventsNo description in the sourceread
list_labelsList available labels for an email account.read
list_mailboxesList all mailbox folders for an account with unread counts and special-use flags. Use list_accounts first to get the account name.read
list_presetsList all available AI triage presets with their descriptions and suggested labels.read
list_remindersNo description in the sourceread
list_scheduledList scheduled emails. Shows pending, sent, or all scheduled emails.read
list_templatesList all available email templates. Templates are TOML files in ~/.config/email-mcp/templates/ with {{variable}} placeholders for subject and body.read
mark_emailChange email flags — mark as read/unread, flag/unflag. Idempotent: marking an already-read email as read is a no-op.read
reply_emailReply to an email with proper threading (In-Reply-To & References headers). Use get_email first to read the original.read
search_emailsSearch emails by keyword across subject, sender, and body.read

Audit history

  1. ✕BLOCK D 69 / 100

    First audit · d188fe5ee334

README badge

Badges show the current verdict, BLOCK included

ModelsAtlas: BLOCK DMODELSATLASBLOCK · D

A badge cannot be hidden by the maintainer while the verdict is BLOCK. Fix the findings, push, and the re-audit updates it.

Questions about Email MCP server

What is the Email MCP server?
Email MCP server with full IMAP + SMTP support — read, search, send, manage, and organize email from any AI assistant via the Model Context Protocol
What tools does Email expose?
50 in total: 32 read-only, 13 that write, and 5 that can delete or overwrite (delete_email, delete_label, delete_mailbox, remove_label, send_draft). Every one is listed on this page with its risk.
Is Email safe to connect to an agent?
No — not without reading the findings first. The audit graded it D (69/100) and found 1 critical or high issue in the source. Each one is listed on this page with the file and line it is on. Separately from the audit: 5 of its tools can destroy data, so scope the token you give it to what you actually need.
What credentials does Email need?
It reads MCP_EMAIL_OAUTH2_CLIENT_ID, MCP_EMAIL_OAUTH2_CLIENT_SECRET, MCP_EMAIL_OAUTH2_PROVIDER, MCP_EMAIL_OAUTH2_REFRESH_TOKEN and MCP_EMAIL_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 Email run?
It speaks stdio and streamable-http, so it runs as a local process your client starts. It is published on npm as @codefuturist/email-mcp at 0.2.3.
How current is this page?
The grade is for one exact copy of the source (d188fe5ee334), read on 2026-10-07. The repository is watched and re-audited when it changes.
Which Email MCP server is the right one?
shy2593666979/mcp-server-email. 3 servers share the name; see the side-by-side comparison.
I already installed Email. What should I do?
Remove it from your client's MCP configuration, then rotate any API keys and tokens that were in your environment while it ran.
Can the verdict change?
Yes. The repository is watched and re-audited when its source changes. If the findings are removed the verdict updates, and the history on this page shows it.

Sources

  • codefuturist/email-mcp on GitHub — the source we read, its licence, stars and activityObserved · 7 Oct 2026
  • ModelsAtlas trust audit — BLOCK verdict for commit d188fe5ee334Observed · 7 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.