Skip to main content

MCP Email Client

PyPI version Python 3.12+ License: MIT

Overview

MCP Email Client is a Python-based email management tool that implements the Model Context Protocol (MCP) for seamless integration with Claude Desktop. It provides comprehensive email functionality including configuration management, sending emails, and reading messages with semantic search capabilities.

Features

  • 📧 Email Configuration Management: List, add, update, and delete email configurations
  • 📨 Send Emails: Send emails using specified configurations
  • 📖 Read Emails: Access and read the latest unread emails
  • 🔍 Semantic Search: Advanced email search with AI-powered semantic understanding
  • 🗃️ Database Storage: Efficient email storage using DuckDB
  • 🔌 MCP Integration: Native support for Claude Desktop integration

Installation

From PyPI (Recommended)

pip install mcp-email-client

From Source

  1. Clone the repository:

    git clone https://github.com/gamalan/mcp-email-client.git
    cd mcp-email-client
    
  2. Install uv (if not already installed):

    Linux/MacOS:

    curl -LsSf https://astral.sh/uv/install.sh | sh
    

    Windows:

    powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
    
  3. Install dependencies:

    uv sync
    

Quick Start

After installation, you can run the MCP email client directly:

mcp-email-client

Configuration

Configuration example using Claude Desktop

{
  "mcpServers": {
    "mcp_email_client": {
      "command": "uv",
      "args": [
        "run",
        "--directory",
        "D:\\Project\\RepoPath", 
        "mcp_email_client"
      ]
    }
  }
}

For VS Code:

{
    "servers": {
        "mcp-email-client": {
            "type": "stdio",
            "command": "mcp-email-client",
            "args": []
        }
    }
}

For development/local installation:

{
    "servers": {
        "mcp-email-client": {
            "type": "stdio",
            "command": "/path/to/uv",
            "args": [
                "run",
                "--directory",
                "/path/to/repo",
                "run_mcp_server.py"
            ]
        }
    }
}

Usage

The MCP Email Client provides several tools that can be used through Claude Desktop:

  • List Configurations: View all configured email accounts
  • Add Configuration: Add new email account settings
  • Update Configuration: Modify existing email configurations
  • Delete Configuration: Remove email configurations
  • Send Email: Send emails through configured accounts
  • Read Emails: Access latest unread emails
  • Search Emails: Semantic search through email content

Requirements

  • Python 3.12 or higher
  • DuckDB for local email storage
  • Internet connection for email operations
  • Valid email account credentials (IMAP/SMTP)

Contributing

Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

This project is licensed under the MIT License - see the LICENSE file for details.

Support

If you encounter any issues or have questions, please file an issue on the GitHub repository.

Changelog

v0.1.0

  • Initial release
  • Basic email configuration management
  • Email sending and reading functionality
  • MCP integration for Claude Desktop
  • Semantic search capabilities

Metadata

Release files for mcp-email-client-cybergenix 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mcp-email-client-cybergenix 1.0.1
File Size Uploaded
mcp_email_client_cybergenix-1.0.1.tar.gz 12.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mcp-email-client-cybergenix 1.0.1
File Interpreter ABI Platform
mcp_email_client_cybergenix-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 27.7 kB

Release files / mcp_email_client_cybergenix-1.0.1.tar.gz

Download URL mcp_email_client_cybergenix-1.0.1.tar.gz
Size 12.3 kB
Tags Source
SHA-256 checksum
How to use checksums
99116db6c7215413c47135f1af3f8926a0f61267fadfd8a4e5570f3d7f82551d
BLAKE2b-256 checksum
How to use checksums
34966954fa6a2b17374a2a9abbe618bb8be19017f43b43cbcbd18a6278b8ca5d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.0

Release files / mcp_email_client_cybergenix-1.0.1-py3-none-any.whl

Download URL mcp_email_client_cybergenix-1.0.1-py3-none-any.whl
Size 15.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
37ada1cee458e6b0b0d3bd60554decb42dc33c074b5294077ccdae3d97c7194f
BLAKE2b-256 checksum
How to use checksums
9857eb6b24d74a02e06ba90fb6c502aaeb4846129efd4d369fd8cc6e80829023
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.0

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page