imap-mcp-server

imap-mcp-server

0

The project is a Model Context Protocol (MCP) server designed to enhance Gmail usage with AI-powered analysis and management. It provides a comprehensive set of features to manage Gmail accounts, including smart folder creation, message analysis, and email migration to Google Cloud Storage.

Gmail MCP Server

The project is now specifically designed for Gmail, providing advanced AI-powered analysis and management capabilities using the Gmail API. It includes features such as Gmail-specific integration, AI-powered inbox analysis, smart folder management, Google Cloud Storage integration, and batch processing of messages.

Features

  • Gmail-Specific Integration
  • AI-Powered Analysis
  • Smart Folder Management
  • Google Cloud Storage Integration
  • Batch Processing

Prerequisites

  • Python 3.8 or higher
  • Gmail account with API access
  • Google Cloud credentials

Tools

  • test_connection: Tests Gmail API connection
  • list_labels: Lists available Gmail labels
  • search_emails: Searches Gmail messages via IMAP
  • get_email: Fetches email content by ID
  • analyze_inbox: Analyzes email patterns
  • get_total_messages: Retrieves total message count
  • analyze_inbox_state: Comprehensive inbox analysis
  • move_message: Moves messages between folders
  • create_smart_folder: Creates smart folders with rules
  • batch_process: Processes emails in batches
  • migrate_email_to_gcs: Migrates emails to Google Cloud Storage
  • get_folder_summary: Retrieves folder statistics
  • search_messages: Searches emails with Gmail syntax
  • get_thread: Retrieves messages in a thread
  • get_messages: Retrieves messages with label filtering

Getting Started

Configure the server with Gmail API credentials and other settings to analyze and manage your Gmail inbox.