Email SMTP

Email SMTP

A simple MCP server that lets your AI agent send emails and attach files through SMTP.

23
Stars
5
Forks
0
Releases

Overview

The Email MCP Server is a Model Context Protocol (MCP) server designed to empower AI assistants to send emails through your SMTP configuration. It supports sending both plain text and HTML messages, and it can attach files or documents to any email. It can address multiple recipients with To, CC, and BCC, enabling group communications. Two core tools are exposed: send_email for quick, straightforward messages that rely on the environment's SMTP settings; and send_custom_email for advanced control, including HTML formatting, multiple recipients, attachments, and per-email SMTP overrides. A dedicated test_smtp_connection_tool lets you verify your SMTP connection before sending important emails. The server is intended to be integrated into Claude Desktop or Cursor via an mcpServers entry, using uv to run main.py, with environment variables such as SMTP_HOST, SMTP_PORT, SMTP_SECURE, SMTP_USER, SMTP_FROM, and SMTP_PASS to configure the provider. Provider setup sections show Gmail and Outlook templates and general guidance for port choices and security. The project includes troubleshooting, testing commands, and MIT licensing, making it suitable for MCP workflows requiring email capabilities.

Details

Owner
egyptianego17
Language
Python
License
MIT License
Updated
2025-12-07

Features

send_email - Simple Email Sending

Quickly send emails using your environment's SMTP settings by specifying recipient, subject, and body.

send_custom_email - Advanced Email Features

Full control over emails: multiple recipients (To/CC/BCC), attachments, HTML formatting, and per-email SMTP overrides.

test_smtp_connection_tool - Check Setup

Test your SMTP configuration before sending important emails.

Plain text and HTML emails

Supports sending both plain text and HTML formatted messages.

Attachments support

Attach files and documents to outgoing emails.

Multi-recipient support (To, CC, BCC)

Send emails to multiple recipients with CC and BCC.

Environment-based SMTP configuration & per-email override

Uses environment variables for SMTP configuration with the option to override per email.

Claude Desktop / Cursor integration

Integrate with Claude Desktop or Cursor by configuring uv run commands and the app directory.

Audience

AI developersIntegrate email sending for agents using SMTP with To/CC/BCC and attachments.
Automation engineersEmbed email sending capabilities in MCP-powered automation workflows.

Tags

emailsmtpattachmentscc-bcchtml-emailmcp-serverintegrationgmailoutlooktesting