@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 | |
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/AIWerk/mcp-server-imap'
If you have feedback or need assistance with the MCP directory API, please join our Discord server