Skip to main content
Glama

Gmail MCP

by fourdots

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Enables AI assistants to interact with Gmail accounts via IMAP, allowing them to list, search, read, and send emails, manage labels and folders, and access attachments through the Model Context Protocol.

  1. Features
    1. Prerequisites
      1. Installation
        1. Install from source
      2. Setup Google Cloud Project
        1. Recent Enhancements
          1. Enhanced Search Functionality
          2. Contact Form Email Processing
          3. Backtick JSON Handling
        2. Claude Desktop Guide
          1. Key Tools and Functions
          2. Best Practices for Claude
          3. Special Cases
          4. Recommended Workflow
        3. Tools Reference
          1. Authentication
          2. Email Retrieval
          3. Email Sending
          4. Label Management
          5. Email Organization
        4. Advanced Usage Examples
          1. Enhanced Search with Date Range and Label
          2. Get Unread Emails with Additional Filtering
          3. Search with Complex Gmail Query
        5. Architecture and Implementation Details
          1. Credential Storage
          2. IMAP Implementation
          3. Email ID Format
        6. Contributing
          1. Usage
            1. Starting the Server
            2. Authenticating Gmail Accounts
          2. Available Tools and Examples
            1. Authentication
            2. Email Retrieval and Search
            3. Email Composition and Sending
            4. Label Management
            5. Email Organization
            6. Attachment Handling
            7. Email Status Management
          3. Available Prompts
            1. 1. summarize-emails
          4. Integration with AI Assistants
            1. Connecting with AI Assistants
              1. Claude Desktop
              2. Windsurf IDE
            2. Common Use Cases
              1. 1. Email Triage
              2. 2. Email Search and Organization
              3. 3. Email Composition
            3. Gmail-Specific Considerations
              1. Label Naming Conventions
              2. Email ID Format
            4. Security Considerations
              1. Troubleshooting
                1. Authentication Issues
                2. Connection Issues
                3. Email Sending Issues
                4. Label Management Issues
                5. Email Movement Issues
                6. Email ID Parsing Issues
              2. License
                1. Support
                  1. Command Line Interface
                    1. Installation
                    2. Available Commands
                    3. CLI Arguments

                  Related MCP Servers

                  • -
                    security
                    F
                    license
                    -
                    quality
                    Enables users to manage Gmail accounts using AI agent-assisted operations via an MCP protocol, supporting email search, reading, deletion, and sending with a voice-powered interface.
                    Last updated -
                    11
                    10
                  • -
                    security
                    A
                    license
                    -
                    quality
                    Enables interaction with Gmail through the Gmail API to read, send, and manage emails. Supports multiple Gmail accounts with real-time monitoring and advanced features for email search and attachment handling.
                    Last updated -
                    16
                    Apache 2.0
                    • Apple
                    • Linux
                  • -
                    security
                    F
                    license
                    -
                    quality
                    A Model Context Protocol server that enables AI assistants to interact with Gmail services, supporting email operations, draft management, and calendar functionality through Google API integration.
                    Last updated -
                    356
                    1
                  • -
                    security
                    A
                    license
                    -
                    quality
                    A Model Context Protocol server that enables AI assistants like Claude to interact with Gmail through natural language, providing comprehensive email management capabilities including sending, reading, organizing, searching, and managing drafts and labels.
                    Last updated -
                    7
                    GPL 3.0
                    • Apple

                  View all related MCP servers

                  MCP directory API

                  We provide all the information about MCP servers via our MCP API.

                  curl -X GET 'https://glama.ai/api/mcp/v1/servers/fourdots/gmail-mcp'

                  If you have feedback or need assistance with the MCP directory API, please join our Discord server