Communication · Developer Tools

Imap MCP Server logo

Imap MCP Server

HappyPathway/imap-mcp-server

The imap-mcp-server is now specifically designed for Gmail, providing AI-powered analysis and management capabilities for Gmail accounts. It leverages the Gmail API for seamless integration and advanced features.

Install

Client configuration

{
  "mcpServers": {
    "imap-mcp": {
      "command": "${userHome}/git/imap-mcp-server/venv/bin/python",
      "args": [
        "${userHome}/git/imap-mcp-server/src/server.py"
      ],
      "env": {
        "GEMINI_API_KEY": "<GEMINI_API_KEY>",
        "IMAP_HOST": "<IMAP_HOST>",
        "ANALYTICS_BATCH_SIZE": "<ANALYTICS_BATCH_SIZE>",
        "ANALYTICS_CACHE_DURATION": "<ANALYTICS_CACHE_DURATION>",
        "ANALYTICS_THREAD_ANALYSIS": "<ANALYTICS_THREAD_ANALYSIS>",
        "ANALYTICS_PRIORITY_SCORING": "<ANALYTICS_PRIORITY_SCORING>",
        "GCS_BUCKET": "<GCS_BUCKET>",
        "ANALYTICS_SENDER_THRESHOLD": "<ANALYTICS_SENDER_THRESHOLD>",
        "ANALYTICS_DOMAIN_THRESHOLD": "<ANALYTICS_DOMAIN_THRESHOLD>",
        "ANALYTICS_UPDATE_INTERVAL": "<ANALYTICS_UPDATE_INTERVAL>",
        "ANALYTICS_LABEL_TRACKING": "<ANALYTICS_LABEL_TRACKING>",
        "ANALYTICS_TYPE_CLASSIFICATION": "<ANALYTICS_TYPE_CLASSIFICATION>"
      }
    }
  }
}

Environment variables

GEMINI_API_KEYIMAP_HOSTANALYTICS_BATCH_SIZEANALYTICS_CACHE_DURATIONANALYTICS_THREAD_ANALYSISANALYTICS_PRIORITY_SCORINGGCS_BUCKETANALYTICS_SENDER_THRESHOLDANALYTICS_DOMAIN_THRESHOLDANALYTICS_UPDATE_INTERVALANALYTICS_LABEL_TRACKINGANALYTICS_TYPE_CLASSIFICATION
Category
Communication, Developer Tools
Updated
Oct 6, 2026

Features

  • Gmail-Specific Integration: Built exclusively for Gmail accounts using the Gmail API.

  • AI-Powered Analysis: Analyze email patterns, prioritize messages, and gain insights into your Gmail inbox.

  • Smart Folder Management: Create and manage smart folders with custom filtering rules for Gmail.

  • Google Cloud Storage Integration: Migrate and store Gmail messages and attachments in Google Cloud Storage.

  • Batch Processing: Perform bulk actions on Gmail messages based on custom criteria.

Tools (15)

  • test_connection

  • list_labels

  • search_emails

  • get_email

  • analyze_inbox

  • get_total_messages

  • analyze_inbox_state

  • move_message

  • create_smart_folder

  • batch_process

  • migrate_email_to_gcs

  • get_folder_summary

  • search_messages

  • get_thread

  • get_messages

Details on this page are taken from the project's README. Open README

Supported clients

Clients mentioned in this server's README:

View all
VS Code GitHub Copilot logo

VS Code GitHub Copilot

Desktop · Freemium · MIT

VS Code integrates MCP with GitHub Copilot through agent mode, allowing direct interaction with MCP-provided tools in your agentic coding workflow. Configure servers in Claude Desktop, workspace, or user settings, with guided MCP installation and secure handling of secrets in input variables to avoid leaking hardcoded keys.

WindowsMacOSLinuxWeb

Related MCP servers

More servers
Inbox Zero AI MCP logo

Inbox Zero AI MCP

elie222/inbox-zero

7.1k

To help you spend less time in your inbox, so you can focus on what matters most.

Communication
whatsapp logo

whatsapp

lharries/whatsapp-mcp

3.6k

This is a Model Context Protocol (MCP) server for WhatsApp.

Communication
Apple MCP Server logo

Apple MCP Server

Dhravya/apple-mcp

1.5k

Apple MCP toolset is a collection of Apple native tools based on the MCP protocol, providing integration services for Messages, Notes, Contacts, Mail, Reminders, Calendar and other Apple ecosystem features.

Communication
supergateway logo

supergateway

supercorp-ai/supergateway

1.1k

Supergateway runs MCP stdio-based servers over SSE (Server-Sent Events) or WebSockets (WS) with one command. This is useful for remote access, debugging, or connecting to clients when your MCP server only supports stdio.

Communication
Line Bot MCP Server logo

Line Bot MCP Server

line/line-bot-mcp-server

338

Model Context Protocol (MCP) server implementation that integrates the LINE Messaging API to connect an AI Agent to the LINE Official Account.

Communication
MCP Send Email logo

MCP Send Email

resend/mcp-send-email

325

Connect your AI agent to the Resend platform. Send and receive emails, manage contacts, broadcasts, domains, and more, directly from any MCP client like Claude, Cursor, or Claude Code.

Communication