lechien73
MCP Serverlechien73public

mcp_email

Proof of concept MCP tools to send emails using Proton or Gmail

Repository Info

3
Stars
0
Forks
3
Watchers
0
Issues
Python
Language
MIT License
License

About This Server

Proof of concept MCP tools to send emails using Proton or Gmail

Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.

Documentation

MCP email tools

This is an example of an MCP server in Python with two email tools, which allow you to send emails using Proton Mail or Gmail.

It uses the MCP Python SDK and a third-party ProtonMail wrapper.

Using this server

To use this with the Claude desktop app:

Clone the repo, and then run uv sync or pip install . to install the requirements from the pyproject.toml file.

If you're using uv (and if you're not, you really should be), simply type uv run mcp and then mcp install main.py to add it to Claude.

Otherwise, create or edit the claude_desktop_config.json file at ~/Library/Application\ Support/Claude/claude_desktop_config.json on Mac/Linux or %APPDATA%\Claude\ on Windows. Add this content:

{
    "mcpServers": {
      "proton_server": {
        "command": "python3",
        "args": [
          "PATH_TO/main.py"
        ]
      }
    }
}

You'll need environment variables - p_username and p_password for Proton or g_username and g_password for Gmail. The Gmail password needs to be an app-specific password, not your regular account password. You can put these in an env.py file if you want.

Restart Claude, and you should see the two tools under the hammer icon below the chat.

You can then use prompts like: "Write an email with a HTML body accepting the invitation to the Bloomsday lecture."

Use at your own risk. It's a proof-of-concept, not a finished product.

Contributing

Feel free to fork the repo and make a PR if you'd like to suggest changes. Failing that, you could always...

Buy Matt A Coffee


Matt Rudge
April, 2025

Quick Start

1

Clone the repository

git clone https://github.com/lechien73/mcp_email
2

Install dependencies

cd mcp_email
npm install
3

Follow the documentation

Check the repository's README.md file for specific installation and usage instructions.

Repository Details

Ownerlechien73
Repomcp_email
LanguagePython
LicenseMIT License
Last fetched8/10/2025

Recommended MCP Servers

💬

Discord MCP

Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.

integrationsdiscordchat
🔗

Knit MCP

Connect AI agents to 200+ SaaS applications and automate workflows.

integrationsautomationsaas
🕷️

Apify MCP Server

Deploy and interact with Apify actors for web scraping and data extraction.

apifycrawlerdata
🌐

BrowserStack MCP

BrowserStack MCP Server for automated testing across multiple browsers.

testingqabrowsers

Zapier MCP

A Zapier server that provides automation capabilities for various apps.

zapierautomation