Purpose: email-send-mcp is a Model Context Protocol (MCP) server that provides email-related capabilities for LLMs, enabling models to compose and send emails and to search for attachment files in a specified directory.
Key capabilities:
- Send emails: supports multiple recipients.
- Attachment support: attachments can be included when sending emails; for security reasons, the server supports only a limited set of file types.
- Attachment search: searches for files matching a filename pattern in a specified directory.
- Secure transmission: sends emails via SMTP.
Available tools:
- send_email: sends an email based on the provided subject, body, and recipients. Parameters include: receiver (string array, required, list of recipient email addresses), body (string, required, email body), subject (string, required, email subject), attachments (string array or string, optional, email attachment filenames).
- search_attachments: searches for files whose filenames match a given pattern in a specified directory. Parameters include: pattern (string, required, text pattern used to match filenames).
Usage: configure the server in the settings of MCP-capable clients such as Cursor/Claude. For services such as Gmail, an app-specific password may be required.
Supported attachment file types:
- Documents: doc, docx, xls, xlsx, ppt, pptx, pdf
- Archives: zip, rar, 7z, tar, gz
- Text files: txt, log, csv, json, xml
- Images: jpg, jpeg, png, gif, bmp
Use cases: in MCP-capable AI clients, let the model draft and send emails with attachments based on the conversation content, or first locate local attachments by filename pattern and then send them.
Limitations: attachment types are subject to security restrictions, and only the file types listed above are supported; services such as Gmail may require an app-specific password; the materials do not provide specific installation commands, environment variable configuration details, or complete configuration examples.
License: MIT License; free to use, modify, and distribute, subject to the terms of the MIT License.