@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 |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| email_list | List emails from a folder |
| email_read | Read one email including body and attachments metadata |
| email_search | Search emails by text/header/date criteria |
| email_folders | List all folders and status counters |
| email_move | Move email UIDs from one folder to another |
| email_flag | Set read/star flags on emails |
| email_delete | Delete emails by moving them to Trash |
| email_send | Send an email via SMTP |
| email_reply | Reply to an existing email via SMTP |
| email_attachment | 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 | |
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/AIWerk/mcp-server-imap'
If you have feedback or need assistance with the MCP directory API, please join our Discord server