New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

mcpproducts-mail

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mcpproducts-mail

MailMCP — read, search and DRAFT email for agents over IMAP (never sends)

pipPyPI
Version
0.1.1
Weekly downloads
54
-74.41%
Maintainers
1
Weekly downloads
 
Created

MailMCP 📬

Read, search, and draft email from any AI agent — over standard IMAP. Local, free, private.

Works with Gmail, Outlook, Fastmail, or any IMAP server. Never sends: drafts are written to your Drafts folder; a human always presses Send.

Setup

  • Enable IMAP for your account. Gmail: turn on 2FA, create an App Password (myaccount.google.com → Security → App passwords).
  • Add the server with credentials in the env block:

Claude Desktop (claude_desktop_config.json):

{
  "mcpServers": {
    "mail": {
      "command": "uvx",
      "args": ["mcpproducts-mail"],
      "env": {
        "IMAP_HOST": "imap.gmail.com",
        "IMAP_USER": "you@gmail.com",
        "IMAP_PASS": "your-app-password"
      }
    }
  }
}

Tools

ToolTierWhat it does
list_recentfreeLatest headers from any folder
search_emailsfreeIMAP search: FROM/TO/SUBJECT/BODY + since-days
read_emailfreeFull message body + attachment names
draft_emailfreeCreate a draft (never sends)
move_emailfreeMove message to another folder (archive/junk)
cloud_digestcloudSummarised daily inbox brief (needs MPX_API_KEY)

Example prompts

  • "Any email from Stripe this week?" → search_emails
  • "Draft a reply to John agreeing to Thursday" → draft_email
  • "Archive everything from notifications@twitter" → search_emails + move_email

License

MIT

FAQs

Related posts