imap-mail-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| IMAP_HOST | Yes | IMAP server hostname | |
| IMAP_PORT | No | IMAP port (default 993) | 993 |
| SMTP_HOST | Yes | SMTP server hostname | |
| SMTP_PORT | No | SMTP port (default 587) | 587 |
| EMAIL_USER | Yes | Mailbox login (usually your email address) | |
| IONOS_EMAIL | No | Alias for EMAIL_USER | |
| EMAIL_PASSWORD | Yes | Password or app-specific password | |
| IONOS_PASSWORD | No | Alias for EMAIL_PASSWORD | |
| IONOS_IMAP_HOST | No | Alias for IMAP_HOST | |
| IONOS_IMAP_PORT | No | Alias for IMAP_PORT | |
| IONOS_SMTP_HOST | No | Alias for SMTP_HOST | |
| IONOS_SMTP_PORT | No | Alias for SMTP_PORT |
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 |
|---|---|
| list_mailboxesA | List all IMAP folders/mailboxes in the mailbox (e.g. INBOX, Sent, Drafts, Trash). |
| list_messagesC | List the most recent messages in a mailbox, newest first. |
| search_messagesA | Search messages in a mailbox by sender, recipient, subject, body text, or date range. |
| get_messageB | Fetch the full content (text, html, attachments metadata) of a single message by UID. |
| mark_messageC | Change the read or flagged status of a message. |
| send_mailA | Send a new email, or reply to an existing one, via SMTP. |
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 6 tools
Each tool targets a distinct action: flagging, sending, listing mailboxes, listing messages, searching, and fetching. No overlaps or ambiguity.
All tool names follow a consistent verb_noun pattern with lowercase and underscores (e.g., list_mailboxes, send_mail). No mixing of styles.
Six tools is well-scoped for an email server, covering essential operations without being too few or overly numerous.
Covers core email tasks (list, send, search, read, flag) but lacks operations like delete/move messages or manage mailboxes, which are minor gaps.