Mail MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| IMAP_SSL | No | Use SSL connection | true |
| SMTP_SSL | No | Use SSL/TLS (port 465) | true |
| IMAP_HOST | No | IMAP server hostname | imap.example.com |
| IMAP_PORT | No | IMAP server port | 993 |
| SMTP_HOST | No | SMTP server hostname | smtp.example.com |
| SMTP_PORT | No | SMTP server port | 465 |
| EMAIL_USER | Yes | Email username | |
| SMTP_STARTTLS | No | Use STARTTLS (port 587) | false |
| EMAIL_PASSWORD | Yes | Email password |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_foldersB | List all email folders |
| create_folderC | Create a new email folder |
| delete_folderC | Delete an email folder |
| rename_folderC | Rename an email folder |
| search_emailsC | Search emails with criteria |
| get_emailC | Get detailed email information |
| mark_readC | Mark email as read (seen) |
| mark_unreadB | Mark email as unread (remove seen flag) |
| mark_flaggedC | Mark email as flagged (starred) |
| unmark_flaggedA | Unmark email as flagged (remove starred) |
| move_emailC | Move email to another folder |
| copy_emailC | Copy email to another folder |
| delete_emailB | Delete email (mark as deleted and expunge) |
| get_current_dateA | Get current date and time |
| send_emailC | Send an email with optional HTML body and attachments |
| send_replyC | Reply to an email |
| send_forwardC | Forward an email to another recipient |
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/AdJIa/mail-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server