About mail-server
mail-server is an MCP server published by git+yunfeizhu in the Developer Tools category: mCP server for IMAP/SMTP email access with environment-based configuration. Conduid read 14 tools from its source: check_connection, continue_email_thread, delete_message, delete_messages, find_unreplied_messages, get_message and 8 more. It is published to npm as mcp-mail-server and starts with npx.
The repository has 53 stars and 0 forks, and its last commit was on 16 Oct 2026. Conduid has no tagged release on record for it. It passes 1 of the 2 static checks Conduid ran on the repository; it does not pass Scoped permissions. Its topics include imap, smtp, email and mail.
Install
npx mcp-mail-serverclaude mcp add mail-server -- npx -y mcp-mail-servernpx -y mcp-mail-servergit clone git+https://github.com/yunfeizhu/mcp-mail-serverTools (14)
check_connectionConnect to IMAP when needed, actively verify SMTP, then return structured status for both services.continue_email_threadFind 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.delete_messagePermanently 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.delete_messagesPermanently delete several mailbox-scoped messages in a single call using targeted UID EXPUNGE. Each UID is deleted independently and reported separately, so a failure on one message does not abort the rest. Returns deletedCount, failedCount and a per-UID results array; inspect any entry whose deleted flag is false before retrying that UID.find_unreplied_messagesFind messages from a sender that have no thread-header reply in the sent mailbox. Messages without Message-ID are returned separately as unknown.get_messageRetrieve one message, including full bodies and attachment metadata. Set markSeen only when the message should be marked as read.get_messagesRetrieve 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_mailboxesList all available mailboxes (folders). Auto-connects to IMAP when needed.move_messageMove 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.move_messagesMove several mailbox-scoped messages from one mailbox into another existing mailbox in a single call. Each UID is moved independently and reported separately, so a failure on one message does not abort the rest. Returns movedCount, failedCount and a per-UID results array; inspect any entry whose moved flag is false before retrying that UID.reply_to_emailReply to a mailbox-scoped message with threading headers, optional reply-all recipients, signature, and quoted original content.save_attachmentSave 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.search_messagesSearch 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.send_emailSend a new email via SMTP and try to save a MIME-equivalent copy with the accepted Message-ID to the sent mailbox.Security checks
- ✓README presentThe repository's README runs to about 1.6K words.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
4 checks have not been run yet.
README
The repository's README runs to about 1.6K words. The original in the repository is authoritative.
Read full README