@aiwerk/mcp-server-imap
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| IMAP_TLS | No | Use TLS (default: true) | true |
| SMTP_TLS | No | Use TLS (default: true) | true |
| IMAP_HOST | Yes | IMAP server hostname | |
| IMAP_PASS | Yes | Password or app-specific password | |
| IMAP_PORT | No | IMAP port (default: 993) | 993 |
| IMAP_USER | Yes | Email address or username | |
| SMTP_FROM | No | Sender address (default: value of IMAP_USER) | |
| SMTP_HOST | No | SMTP server hostname (default: value of IMAP_HOST) | |
| SMTP_PASS | No | SMTP password (default: value of IMAP_PASS) | |
| SMTP_PORT | No | SMTP port (default: 465) | 465 |
| SMTP_USER | No | SMTP username (default: value of IMAP_USER) | |
| IMAP_DEBUG | No | Verbose IMAP protocol logging (default: false) | false |
| IMAP_TIMEOUT | No | Connection timeout in ms (default: 30000) | 30000 |
| SMTP_SEND_ENABLED | No | Must be 'true' to enable sending (default: false) | false |
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 |
|---|---|
| email_listC | List emails from a folder |
| email_readC | Read one email including body and attachments metadata |
| email_searchC | Search emails by text/header/date criteria |
| email_foldersA | List all folders and status counters |
| email_moveB | Move email UIDs from one folder to another |
| email_flagC | Set read/star flags on emails |
| email_deleteC | Delete emails by moving them to Trash |
| email_sendC | Send an email via SMTP |
| email_replyC | Reply to an existing email via SMTP |
| email_attachmentC | List or fetch a message attachment |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 10 tools
Each tool has a distinct purpose: attachment handling, deletion, flagging, folder listing, inbox listing, moving, reading, replying, searching, and sending. No overlapping functionality.
All tools share the 'email_' prefix, and most follow a verb_noun pattern (e.g., email_delete, email_send). 'email_attachment' and 'email_folders' are noun-based but clear given their descriptions.
10 tools cover essential email operations (list, read, send, reply, delete, move, flag, search, folders, attachments) without being excessive or sparse.
Core CRUD and search are present. Minor gaps like folder management (create/rename) or draft handling exist but are not critical for basic IMAP usage.