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 |
Capabilities
Features and capabilities supported by this server
| 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
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