Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
EMAIL_ACCOUNTS_JSONYesJSON string containing email account configurations with SMTP and IMAP settings. Should include smtp host/port/user/password, imap host/port, default_from_name, and sender_emails array.
DEFAULT_EMAIL_ACCOUNTNoThe default email account to use (should match a key in EMAIL_ACCOUNTS_JSON)

Tools

Functions exposed to the LLM to take actions

NameDescription
emails_find

Search for emails in your inbox with flexible filters. Optionally get full email content and attachments. Use this to find specific emails, check for unread messages, or browse your inbox.

emails_modify

Change email states like read/unread, flagged, or move between folders. Use this to organize your inbox, mark emails as read, archive messages, or flag important emails.

email_send

Send a new email with HTML support and file attachments. Use this to send messages, project updates, or any new email conversation.

email_respond

Reply to or forward an existing email. Use this to continue email conversations, respond to messages, or forward information to others.

folders_list

List all available email folders/labels in your account. Use this to see your folder structure and organize emails.

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/samihalawa/email-smtp-imap-mcp'

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