mcp-server-email
by Shy2593666979·★ 76·Score 39
MCP server for sending emails with attachments and searching files in directories.
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:
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 READMEsend_emailSends emails with optional attachments to multiple recipients
search_attachmentsSearches for files in a specified directory that match a given pattern
Comparable tools
Installation
Installation
- Install dependencies:
pip install pydantic python-dotenv- Create an
email.jsonfile with SMTP server configurations.
- 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
Last updated · Auto-generated from public README + GitHub signals.