IMAP Email MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| IMAP_TLS | No | Whether to use TLS for the IMAP connection. | true |
| IMAP_HOST | Yes | The hostname of the IMAP server (e.g., imap.example.com). | |
| IMAP_PORT | No | The port number for the IMAP server. | 993 |
| IMAP_USER | Yes | The email address to connect to the IMAP server (e.g., your-email@example.com). | |
| SMTP_HOST | No | The hostname of the SMTP server. Defaults to IMAP settings if not specified. | |
| SMTP_PORT | No | The port number for the SMTP server. | 465 |
| SMTP_USER | No | The username for the SMTP server. Defaults to IMAP settings if not specified. | |
| SMTP_SECURE | No | Whether to use a secure connection for SMTP. | true |
| IMAP_PASSWORD | Yes | The app-specific password for the email account. | |
| SMTP_PASSWORD | No | The password for the SMTP server. Defaults to IMAP settings if not specified. | |
| IMAP_AUTH_TIMEOUT | No | Authentication timeout in milliseconds. | 10000 |
| IMAP_TLS_REJECT_UNAUTHORIZED | No | Whether to reject unauthorized TLS certificates. | true |
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 | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_foldersB | List all email folders/mailboxes in the IMAP account |
| list_emailsB | List emails from a folder with optional filtering |
| get_emailC | Get full email content by UID |
| search_emailsC | Search emails by subject, from, or body text |
| list_draftsC | List all draft emails |
| get_draftC | Get a specific draft email by UID |
| create_draftC | Create a new draft email |
| update_draftC | Update an existing draft by deleting old and creating new |
| send_emailC | Send an email directly |
| delete_emailB | Delete an email by UID |
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/jdickey1/imap-email-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server