MCP Catalogs
Homemcp-server-email screenshot

mcp-server-email

by Shy2593666979·76·Score 39

MCP server for sending emails with attachments and searching files in directories.

communicationfile-systemproductivity
18
Forks
11
Open issues
13 mo ago
Last commit
2d ago
Indexed

Overview

This MCP server provides email functionality for LLMs to compose and send emails with attachments, as well as search for files within specified directories. It supports secure SMTP transmission, multiple recipients, and pattern matching for file searches. The server is compatible with major email services including Gmail, Outlook, Yahoo, QQ mail, and网易 126 mail.

Try asking AI

After installing, here are 5 things you can ask your AI assistant:

you:Automating email sending from LLM-based applications
you:Searching for specific attachments in directories
you:Integrating email functionality into AI-powered workflows
you:What email providers are supported?
you:Do I need an app-specific password for Gmail?

When to choose this

Choose this server if you need to integrate email functionality into AI workflows and want to search for attachment files without leaving your LLM environment.

When NOT to choose this

Don't choose this if you need advanced email features like templates, scheduling, or integration with existing email systems beyond basic SMTP.

Tools this server exposes

2 tools extracted from the README
  • send_email

    Sends emails with optional attachments to multiple recipients

  • search_attachments

    Searches for files in a specified directory that match a given pattern

Comparable tools

mcp-server-slacknotion-mcpemail-to-api

Installation

Installation

  1. Install dependencies:
pip install pydantic python-dotenv
  1. Create an email.json file with SMTP server configurations.
  1. Run the server:
python -m mcp_email_server (--dir /path/to/attachment/directory)

For Claude Desktop, add to your settings:

{
  "mcpServers": {
    "email": {
      "command": "python",
      "args": [
        "path/to/mcp_server_email",
        "--dir",
        "/path/to/attachment/directory"
      ],
      "env": {
        "SENDER": "your_email@gmail.com",
        "PASSWORD": "your_app_password"
      }
    }
  }
}

FAQ

What email providers are supported?
The server supports Gmail, Outlook, Yahoo, QQ邮箱 and网易 126邮箱.
Do I need an app-specific password for Gmail?
Yes, for Gmail and some other services, you may need to use an app-specific password instead of your regular password.

Compare mcp-server-email with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.