MCP Email Server

MCP Email Server

mcpemailserver•bysachatrauwaen

A C# Model Context Protocol server that sends plain text and HTML emails via SMTP.

License: Not specified•Runtime: Awaiting documentation review•Category: communication social

WHAT IT DOES

  • •Exposes an MCP tool SendEmail for sending plain text emails with recipient, subject, and body parameters.
  • •Exposes an MCP tool SendHtmlEmail for sending HTML emails.
  • •Runs as an MCP server with stdio transport and configurable SMTP settings.

BEST FOR

  • •Enabling AI clients to send plain text emails through a connected SMTP account.
  • •Sending formatted HTML email content from an MCP-enabled assistant.

ABOUT MCPEMAILSERVER

MCP Email Server is cataloged as an MCP server attributed to sachatrauwaen. A C# Model Context Protocol server that sends plain text and HTML emails via SMTP. It is categorized under communication social. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for MCP Email Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Can it send both plain text and HTML emails?

Yes, it provides SendEmail for plain text and SendHtmlEmail for HTML content.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 91112b9283d6 · 采集于 2026-11-13 12:01:27 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

MCP Email Server

A C# Model Context Protocol (MCP) server that provides email sending capabilities using SMTP.

Prerequisites

  • .NET 6.0 or later
  • SMTP server credentials (e.g., Gmail, Office 365, or your own SMTP server)

Setup

  1. Clone the repository

  2. Set the following environment variables for SMTP configuration:

    • SMTP_SERVER (e.g., smtp.gmail.com)
    • SMTP_PORT (e.g., 587)
    • SMTP_USERNAME (your email address)
    • SMTP_PASSWORD (your app password)

Mcp Email Server can be run using the following command:

 "mcp-email-server": {
      "type": "stdio",
      "command": "dotnet",
      "args": ["run", 
              "--project",
              "YOUR_PATH/smtp-dotnet-mcp-server/McpEmailServer.csproj"
            ],
      "env": {       
        "SMTP_SERVER": "localhost",
        "SMTP_PORT": "25",
        "SMTP_USERNAME": "",
        "SMTP_PASSWORD": ""
      }
    }

or

 "mcp-email-server": {
      "type": "stdio",
      "command": "cmd",
      "args": ["/c",               
              "YOUR_PATH/smtp-dotnet-mcp-server/McpEmailServer.exe"
            ],
      "env": {       
        "SMTP_SERVER": "localhost",
        "SMTP_PORT": "25",
        "SMTP_USERNAME": "",
        "SMTP_PASSWORD": ""
      }
    }

Gmail Setup (if using Gmail)

If you're using Gmail, you'll need to:

  1. Enable 2-Step Verification in your Google Account
  2. Generate an App Password:
    • Go to Google Account settings
    • Security
    • 2-Step Verification
    • App passwords
    • Generate a new app password for "Mail"

Running the Server

dotnet run

Available Tools

The server provides the following MCP tools:

  1. SendEmail: Sends a plain text email

    • Parameters:
      • to: Recipient email address
      • subject: Email subject
      • body: Email body text
  2. SendHtmlEmail: Sends an HTML email

    • Parameters:
      • to: Recipient email address
      • subject: Email subject
      • htmlBody: HTML content for the email body

Features

  • MCP server implementation with stdio transport
  • SMTP email sending capabilities
  • Support for both plain text and HTML emails
  • Dependency injection for SMTP client and settings
  • Configurable through appsettings.json
  • Proper error handling and logging

Security Notes

  • Never commit your email credentials to source control
  • The appsettings.json file should be added to .gitignore
  • Use app passwords instead of your main password when possible
  • Consider using environment variables or a secure configuration management system in production

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for MCP Email Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/mcpemailserver)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related communication social MCP Servers

Alternative and complementary servers in the same category

View all in communication social →

An AI receptionist platform with an MCP server for accessing business calls, contacts and appointments from AI assistants.

52
Communication

Pidgeon provides an MCP server and an email inbox API that gives AI agents their own addresses for sending, awaiting, and replying to email.

Repository stats unavailable
Communication