imail-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_mailboxesA | List all mailboxes/folders with their IMAP paths and roles. |
| search_messagesA | Search a mailbox. All filters are optional and combined with AND. Returns summaries, newest first. |
| get_messageA | Fetch a full message: headers, text + HTML body, and attachment metadata. |
| get_threadB | Fetch the conversation a message belongs to, ordered oldest to newest. |
| download_attachmentA | Save an attachment to a local temp file and return its path. Get the attachmentId from get_message. |
| compose_previewA | Build an email and return it for the user to review. Does not send or save anything. Use this first, then send_email after the user approves. |
| send_emailB | Send an email NOW. Only call after the user has explicitly approved sending (ideally after a compose_preview). |
| save_draftA | Save an email to the Drafts mailbox so the user can review and send it themselves. Does not send. |
| replyA | Reply to an existing message. Set replyAll for reply-all. Like send_email, only call after explicit user approval. Threading headers are set automatically from the original. |
| forwardB | Forward an existing message to new recipients. Only call after explicit user approval. |
| move_messageC | Move a message to another mailbox. |
| set_flagsB | Mark a message read/unread and/or flagged/unflagged. |
| archive_messageC | Move a message to the Archive mailbox. |
| delete_messageC | Move a message to Trash (or expunge it if it is already in Trash). |
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/nurked/icloud-mail-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server