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.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

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.

Upstream README

View this exact version on GitHub

README.md · 91112b9283d6 · Fetched 2026-11-13 12:01:27 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

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.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

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