gmail-mcp-imap
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| GMAIL_EMAIL | Yes | Your Gmail email address | |
| GMAIL_APP_PASSWORD | Yes | Your 16-character Gmail App Password |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_primary_emailsA | Get emails from Primary category - important conversations from real people |
| get_social_emailsA | Get emails from Social category - notifications from social networks like Facebook, Twitter, LinkedIn |
| get_promotions_emailsA | Get emails from Promotions category - marketing emails, deals, offers, newsletters |
| get_updates_emailsA | Get emails from Updates category - transactional emails like receipts, bills, statements, order confirmations |
| get_forums_emailsA | Get emails from Forums category - mailing lists, discussion groups, online forums |
| search_emailsA | Search emails using keywords - searches in subject and sender |
| get_email_contentA | Get full content of a specific email by its UID |
| get_emails_by_labelA | Get emails from a specific label or folder (e.g., Github, Naukri jobs, Notes, [Gmail]/Sent Mail, [Gmail]/All Mail). Supports after/before date filters for paging. Results include a |
| list_labelsA | List all Gmail labels and folders |
| send_emailB | Send a new email with optional attachments |
| reply_to_emailC | Reply to an existing email |
| mark_as_readB | Mark an email as read |
| mark_as_unreadB | Mark an email as unread |
| star_emailB | Star or unstar an email |
| delete_emailA | Move an email to trash |
| apply_labelB | Apply a label to an email |
| download_attachmentA | Download an email attachment and return it as Base64 encoded data. Use this to save attachments locally. |
| list_attachmentsA | List all attachments in an email (without downloading content) |
| save_attachmentC | Download an email attachment and save it to a specified file path |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/suhail-ak-2/gmail-mcp-imap'
If you have feedback or need assistance with the MCP directory API, please join our Discord server