Skip to main content
Glama

Email Management MCP Server

by Karopatu

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
EMAIL_PORTNoThe port for the IMAP server993
EMAIL_PROMPTNoCustom prompt for summarization. Must include {{emails}} to insert the email content. Can also use a file path (absolute path) or URL to load prompt contentSummarize the following emails: {{emails}}
DEBUG_LOG_FILENoCustom path (absolute path) for the debug log file
EMAIL_PASSWORDYesYour email app password
EMAIL_USERNAMEYesYour email address
EMAIL_CLIENT_TYPENoThe type of email client: gmail, outlook, yahoo, etcgmail

Schema

Prompts

Interactive templates invoked by user choice

NameDescription
send-emailSend an email to a specified recipient with a subject and body content.

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
fetch-emails

Get emails from the user's inbox. Can specify the mailbox (INBOX by default), a subject (string), date range (ISO format: YYYY-MM-DDTHH:mm:ss), and sender emails (list of strings) to filter emails.

send-email

Send Email with subject, destination and body

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/Karopatu/email-management-mcp'

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