MCP HubMCP Hub
ai-zerolab

mcp-email-server

by: ai-zerolab

IMAP and SMTP via MCP Server

21created 24/02/2025
Visit
IMAP
SMTP

📌Overview

Purpose: Provide a robust email server solution supporting both IMAP and SMTP protocols through the MCP framework.

Overview: The mcp-email-server is designed to facilitate efficient email communication by integrating seamlessly with various clients. It combines usability with powerful features that enhance the management of email operations within applications.

Key Features:

  • IMAP and SMTP Support: Offers full capability to send and receive emails, ensuring reliable communication through standard protocols.

  • Flexible Configuration: Easily set up via UI or integration with existing MCP clients, allowing for custom configurations tailored to user needs.


mcp-email-server

IMAP and SMTP via MCP Server

Installation

Manual Installation

We recommend using uv to manage your environment.

  1. Configure the MCP client:

    {
      "mcpServers": {
        "zerolib-email": {
          "command": "uvx",
          "args": ["mcp-email-server@latest", "stdio"]
        }
      }
    }
    
  2. Install using pip:

    pip install mcp-email-server
    
  3. Configure your email server:

    mcp-email-server ui
    
  4. To integrate with other MCP clients, use:

    {
      "mcpServers": {
        "zerolib-email": {
          "command": "{{ ENTRYPOINT }}",
          "args": ["stdio"]
        }
      }
    }
    
  5. If using Docker:

    {
      "mcpServers": {
        "zerolib-email": {
          "command": "docker",
          "args": ["run", "-it", "ghcr.io/ai-zerolab/mcp-email-server:latest"]
        }
      }
    }
    

Installing via Smithery

To install Email Server for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @ai-zerolab/mcp-email-server --client claude

Development

This project is managed using uv.

  • Run make install to set up the virtual environment and pre-commit hooks.
  • Use uv run mcp-email-server for local development.

Releasing a New Version

  1. Create an API Token on PyPI.
  2. Add the API Token to your project's secrets with the name PYPI_TOKEN.
  3. Create a new release on GitHub.
  4. Tag the release in the format *.*.*.

For more details, see the project's documentation on release procedures.