mcp-imap-server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| IMAP_HOST | Yes | The hostname of the IMAP server | |
| IMAP_PORT | Yes | The port of the IMAP server | |
| IMAP_USER | Yes | The email address for IMAP authentication | |
| IMAP_PASSWORD | Yes | The password for IMAP authentication |
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 |
|---|---|
| list_foldersB | List all IMAP mailbox folders |
| list_messagesC | List recent messages in a folder with subject, from, date. Default folder is INBOX. |
| get_messageA | Fetch a single email by UID. Returns headers and text body (prefers plain text). |
| search_messagesC | Search messages in a folder by criteria (subject, from, since date, unseen only) |
| mark_messageC | Set or remove flags on a message (e.g., mark as read/unread, flag/unflag) |
| move_messageC | Move a message to another folder |
| delete_messageA | Delete a message (move to Trash or permanently delete) |
| create_reply_draftB | Create a reply draft on an existing email thread. Finds the message by UID, sets In-Reply-To and References headers to keep it in the same thread. |
| create_draftC | Create a draft email in the Drafts folder |
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/ngcdan/mcp-imap-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server