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 connectionlist_labels
: Lists available Gmail labelssearch_emails
: Searches Gmail messages via IMAPget_email
: Fetches email content by IDanalyze_inbox
: Analyzes email patternsget_total_messages
: Retrieves total message countanalyze_inbox_state
: Comprehensive inbox analysismove_message
: Moves messages between folderscreate_smart_folder
: Creates smart folders with rulesbatch_process
: Processes emails in batchesmigrate_email_to_gcs
: Migrates emails to Google Cloud Storageget_folder_summary
: Retrieves folder statisticssearch_messages
: Searches emails with Gmail syntaxget_thread
: Retrieves messages in a threadget_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.