Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
EMAIL_CREDENTIALSNoEmail credentials in the format 'user@email.com:password' or 'user@email.com:password:imap.host'. Multiple accounts can be provided as a comma-separated list.
OUTLOOK_CLIENT_IDNoOptional custom Azure Client ID for Outlook/Hotmail/Live OAuth2 authentication.

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}
resources
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
messages

Email messages: search, read, mark_read, mark_unread, flag, unflag, move, archive, trash. Search across all accounts or filter by account. Query supports: UNREAD, FLAGGED, SINCE YYYY-MM-DD, FROM x, SUBJECT x.

folders

List mailbox folders for one or all email accounts. Returns folder names, paths, and flags.

attachments

Email attachments: list, download. List shows all attachments for an email. Download returns base64-encoded content.

send

Send emails: new, reply, forward. Reply maintains thread headers (In-Reply-To, References) and auto-prepends "Re:" to subject. Forward includes original body and auto-prepends "Fwd:" to subject.

help

Get full documentation for a tool. Use when compressed descriptions are insufficient.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
Messages Tool Docs
Folders Tool Docs
Attachments Tool Docs
Send Tool Docs
Help Tool Docs

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/n24q02m/better-email-mcp'

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