Skip to main content
Glama
mcp-email-client

mcp-email-client

by gamalan

Mail Client MCP

Overview

Mail Client MCP is a Python-based email client that allows users to manage email configurations, send emails, and read the latest unread emails. It provide MCP for Claude Desktop

Related MCP server: mcp-imap

Features

  • List all email configurations

  • Add new email configurations

  • Update existing email configurations

  • Delete email configurations

  • Send emails using specified configurations

  • Read the latest 5 unread emails

Installation

  1. Clone the repository:

    git clone https://github.com/gamalan/mcp-email-client.git
    cd mcp-email-client
  2. Install uv 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

Configuration

Configuration example using Claude Desktop

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

or in VsCode

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

Available Tools

12 tools
add_email_configC

Add a new email configuration

Inputs: name (required), inbound_ssl (required), inbound_host (required), inbound_port (required), +8 more.

delete_email_configC

Delete email configuration

Inputs: name (required).

generate_embeddingsC

Generate embeddings for all emails that don't have them yet

Inputs: batch_size.

get_all_emailsB

Get all emails from the database

Inputs: name, limit.

get_email_countB

Get the total count of emails in the database

Inputs: name.

get_emails_by_dateC

Get emails within a date range

Inputs: name (required), start_date (required), limit, end_date.

list_email_configsC

List all email configurations

Inputs: command.

read_emailC

Read latest 5 unread emails

Inputs: name (required).

search_emailsD

Search emails by content

Inputs: query (required), name, limit.

semantic_search_emailsA

Search emails using semantic similarity

Inputs: query (required), name, limit, similarity_threshold.

send_emailC

Send an email

Inputs: to (required), body (required), name (required), subject (required), +2 more.

update_email_configC

Update email configuration

Inputs: name (required), inbound_ssl (required), inbound_host (required), inbound_port (required), +8 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    C2.9/5.0

    Scored across 12 tools

    Disambiguation5/5

    Each tool has a clear, unique purpose covering configuration CRUD, sending, reading, searching, and embedding generation, with no functional overlap.

    Naming Consistency4/5

    Most tools follow a verb_noun pattern (list_email_configs, send_email, search_emails), though semantic_search_emails and generate_embeddings are slightly less uniform.

    Tool Count5/5

    Twelve tools is well-scoped for an email client MCP, providing a focused set without unnecessary bloat.

    Completeness4/5

    Core email operations and config management are covered, but missing features like deleting emails or marking them as read represent minor gaps.

    Maintenance

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      A Python-based MCP server that bridges MCP-compatible clients with the Gmail API, enabling AI-driven email management through natural language commands.
      108 PyPI
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      A minimal MCP server for reading and sending emails via IMAP/SMTP, supporting multiple accounts in a single instance with zero external dependencies.
      1
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      A minimal MCP server for reading, searching, managing, and sending email over IMAP and SMTP.
      MIT