Email MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| IMAP_HOST | No | Custom IMAP host (optional) | |
| IMAP_PORT | No | Custom IMAP port (optional) | |
| SMTP_HOST | No | Custom SMTP host (optional) | |
| SMTP_PORT | No | Custom SMTP port (optional) | |
| EMAIL_ADDRESS | Yes | Your email address | |
| EMAIL_PASSWORD | Yes | Your app password |
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_searchA | Search Gmail messages using Gmail query syntax. Returns message IDs and snippets. Use email_read to get full content. |
| email_readA | Read a full email by its ID. Returns headers, body, attachments info, and metadata. |
| email_read_threadA | Read an entire email thread (conversation). Returns all messages in the thread. |
| email_inboxB | Get inbox messages. Shorthand for searching 'in:inbox'. |
| email_profileA | Get the authenticated Gmail account profile (email, total messages, threads). |
| email_sendC | Send an email. Supports HTML body, CC, BCC, and threading (reply to a message). |
| email_replyA | Reply to an email. Automatically sets In-Reply-To header and threads the message. Use email_read first to get the message_id and original sender. |
| email_draftC | Create a draft email. Optionally create as a reply draft. |
| email_send_draftA | Send an existing draft by its ID. |
| email_list_draftsB | List all draft emails. |
| email_labelsA | List all Gmail labels (folders/tags). |
| email_create_labelA | Create a new Gmail label (folder/tag). |
| email_archiveA | Archive one or more messages (removes from inbox, doesn't delete). |
| email_trashC | Move one or more messages to trash. |
| email_deleteA | Permanently delete one or more messages. WARNING: cannot be undone! |
| email_mark_readB | Mark one or more messages as read. |
| email_mark_unreadB | Mark one or more messages as unread. |
| email_starB | Star one or more messages. |
| email_unstarA | Remove star from one or more messages. |
| email_add_labelB | Add label(s) to one or more messages. |
| email_remove_labelB | Remove label(s) from one or more messages. |
| email_digestA | Generate a digest of recent emails. Groups by sender, counts unread, highlights important messages. Perfect for morning email summaries. |
| email_suggest_replyA | Read an email and generate context for an AI reply. Returns the email content formatted for an AI assistant to draft a reply. The AI agent should then use email_reply to send. |
| email_triageB | Triage unread emails. Returns each email with priority classification and suggested actions (reply, archive, ignore, forward). Use with an AI agent to auto-process. |
| email_cleanupB | Clean up inbox by archiving old emails, removing newsletters, and organizing. Returns actions taken for review before committing. |
| email_cold_campaignA | Send personalized cold emails from a template. Supports placeholders: {{name}}, {{company}}, {{custom}}. Creates drafts by default for review before sending. |
| email_follow_upA | Find emails that need follow-up: sent emails with no reply after N days. |
| email_contactsA | Extract contacts from recent emails. Useful for building contact lists for campaigns. |
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/Aftab-web-dev/email-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server