Skip to main content
Glama
Aftab-web-dev

Email MCP Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
IMAP_HOSTNoCustom IMAP host (optional)
IMAP_PORTNoCustom IMAP port (optional)
SMTP_HOSTNoCustom SMTP host (optional)
SMTP_PORTNoCustom SMTP port (optional)
EMAIL_ADDRESSYesYour email address
EMAIL_PASSWORDYesYour app password

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

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/Aftab-web-dev/email-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server