imap-mcp-server
npm
v2.0.0
Source verified
Published by nikolausm — publish provenance cryptographically ties this package to that repository. That is proof of origin, not an official vendor package.
A powerful Model Context Protocol (MCP) server for IMAP email integration with Claude
The grade answers one question — how safe is this server for you to adopt — so it is computed in two auditable stages. Nothing below is an opinion or an LLM's guess; every line is a real term the deterministic engine applied, and the same input always yields the same number.
1. Threat score — 100 − 0 = 100. What the published surface and source actually contain:
The deterministic scan raised no scored threat in the surface it inspected — the threat score stayed at 100. Capability observations and advisory notes are recorded but never lower it.
2. Client adoption risk — 100 − 3 = 97. Three small, subtract-only factors that reflect your risk in adopting it — a clean scan proves less on a powerful, unverified or barely-inspectable package, so the grade says so plainly:
| Points | Adoption-risk factor |
|---|---|
| −3 | capability blast radius (moderate) — client exposure if the model is manipulated |
Capability observations and info notes are shown under Findings but never scored.
Open any row's finding below for the file, line and evidence behind a deduction.
Untrusted-input tools ([imap_get_email, imap_download_attachment, imap_find_thread_messages]) co-exist with external-action tools ([imap_upload_file, imap_send_email, imap_save_draft, imap_reply_to_email, imap_forward_email]). A prompt injection could cause unwanted external actions, though no direct sensitive-data leak path was found.
Evidence: untrusted [imap_get_email, imap_download_attachment, imap_find_thread_messages] → sinks [imap_upload_file, imap_send_email, imap_save_draft, imap_reply_to_email
Fix: Require confirmation for state-changing/egress actions triggered after processing untrusted content.
Location: flow imap_get_email → imap_upload_file
In the server's implementation (`dist/index.js:2453`): A hardcoded outbound call to a fixed external host inside server code is a classic exfiltration/telemetry channel — especially paired with reads of local data. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.
Evidence: const response = await fetch( `https://www.ipqualityscore.com/api/json/email/${apiKey}/${encodeURIComponent(`te
Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.
Location: server dist/index.js
Each tool and what it can reach — statically extracted from the published source.
imap_download_attachmentingests untrusted inputimap_find_thread_messagesingests untrusted inputimap_forward_emailnetwork egressimap_get_emailingests untrusted inputimap_reply_to_emailnetwork egressimap_save_draftnetwork egressimap_send_emailnetwork egressimap_upload_filenetwork egressimap_add_accountno sensitive capabilityimap_add_keywordno sensitive capabilityimap_add_spam_domainno sensitive capabilityimap_add_whitelist_domainno sensitive capabilityimap_bulk_deleteno sensitive capabilityimap_bulk_delete_by_searchno sensitive capabilityimap_check_spamno sensitive capabilityimap_connectno sensitive capabilityimap_create_folderno sensitive capabilityimap_delete_by_domainno sensitive capabilityimap_delete_emailno sensitive capabilityimap_delete_spamno sensitive capabilityimap_disconnectno sensitive capabilityimap_domain_statsno sensitive capabilityimap_find_email_by_message_idno sensitive capabilityimap_flag_emailno sensitive capabilityimap_folder_statusno sensitive capabilityimap_get_latest_emailsno sensitive capabilityimap_get_unread_countno sensitive capabilityimap_list_accountsno sensitive capabilityimap_list_foldersno sensitive capabilityimap_list_spam_domainsno sensitive capabilityimap_mark_as_readno sensitive capabilityimap_mark_as_unreadno sensitive capabilityimap_move_emailno sensitive capabilityimap_remove_accountno sensitive capabilityimap_remove_keywordno sensitive capabilityimap_remove_spam_domainno sensitive capabilityimap_search_emailsno sensitive capabilityimap_test_accountno sensitive capabilityimap_unflag_emailno sensitive capabilityimap_update_accountno sensitive capabilityCross-tool combinations that form a data-exfiltration primitive (untrusted input → sensitive source → external sink).
Scan history per published version. The engine is deterministic — the same version always yields the same score, so a changed score means the package itself changed.
| Version | Score | Findings | Engine | Scanned |
|---|---|---|---|---|
v2.0.0 latest |
A 97/100 | 2 | 1.13.0 | 2026-09-07 |
v1.6.0 |
A 97/100 | 2 | 1.12.1 | 2026-08-05 |
v1.5.2 |
A 97/100 | 2 | 1.12.1 | 2026-08-04 |
Show this server's live Trust Score in your README, docs or website. The badge is served straight from the registry and updates automatically after every rescan — no API key needed. It links back to this page, so anyone who sees the grade can also read the findings behind it instead of taking a number on faith.
The score above is reproducible: the same package version always yields the same result. Run it locally or over the free API — no account, no LLM, fully deterministic.
npx mcptrustchecker scan imap-mcp-server --online
Independent packages implementing the same tool, scanned with the same engine. Compare all 4 side by side →
📧 An IMAP Model Context Protocol (MCP) server to expose IMAP operations as tools for AI assistants.
Minimal MCP server that bridges an MCP-capable agent to an IMAP mailbox.
IMAP/SMTP MCP server for listing, reading, searching and sending email
One key, 100+ models — chat with any LLM and generate video, images, speech. Free trial at 370.ai.
Retired compatibility stub for the AgentCanary MCP server. Daily briefs continue on X and Telegram.
A Backstage plugin that provides a chat interface for interacting with the MCP Servers.
Signal-first Bitcoin intelligence: sovereign, hiring & hashrate signals over MCP.
WhatsApp® reminders and rescheduling for Calendly. Public read-only MCP endpoint.
Open Source Generic MCP Client for testing & evaluating mcp servers and agents