Skip to main content
Glama
Xallor Email MCP

Xallor Email MCP

Official
by xallor-ai

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
XALLOR_KEYNoAES-256-GCM key (hex/base64) or passphrase. Auto-generated local key if unset.Auto-generated local key if unset
XALLOR_DEBUGNoStructured debug logs (`1`/`true`/`yes`/`on`/`debug`). Default: off.
XALLOR_DATA_DIRNoAccount/token store directory. Default: ${XDG_DATA_HOME:-~/.local/share}/xallor-email-mcp.${XDG_DATA_HOME:-~/.local/share}/xallor-email-mcp
XALLOR_HTTP_HOSTNoHTTP host. Default: 127.0.0.1.
XALLOR_HTTP_PORTNoHTTP port. Default: 3000.
XALLOR_TRANSPORTNoTransport mode: `stdio` or `http`. `--http` forces `http`. Default: stdio.stdio
XALLOR_TOOLS_ENABLEDNoTool allowlist. Empty = no filtering.
XALLOR_TOOLS_DISABLEDNoTool blocklist. Empty = no filtering.
XALLOR_GMAIL_CLIENT_IDNoOptional Google OAuth client override. Defaults to the built-in Desktop client.
XALLOR_OUTLOOK_CLIENT_IDNoOptional Entra public client ID. Defaults to the built-in public client.
XALLOR_OUTLOOK_TENANT_IDNoOutlook tenant. Default: common.
XALLOR_GMAIL_REDIRECT_URINoHosted Gmail OAuth callback. Defaults to local loopback callback.
XALLOR_GMAIL_CLIENT_SECRETNoOptional Google OAuth secret override. Built-in secret only for the built-in client ID.

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

CapabilityDetails
tools
{
  "listChanged": true
}
logging
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_accountsA

List all email accounts known to this server (no secrets). Use the returned email value as the account argument to other tools. hasSignature reports only a locally stored custom signature; use get_account_settings for the effective signature.

add_accountA

Start adding an email account. For Outlook this returns a device code the user must enter at the verification URL; then call complete_add_account with the returned handle to finalize. For Gmail, share the authorization link AND explicitly ask the user to paste the full final redirected URL from the browser address bar after consent, even if the callback page fails to load. Do not just ask them to say when they are done. Pass that URL as authorizationResponse to complete_add_account with provider 'gmail' and the returned handle. Follow the returned verification.message instructions.

complete_add_accountA

Poll/finalize a pending add_account flow. For Outlook, poll after the user completes the device-code step. For Gmail, pass the full final redirected URL supplied by the user as authorizationResponse, with provider 'gmail' and the original handle; preserve all query parameters, including code and state. Polling without the URL only works if the server received the browser callback automatically. Returns ready when the account is persisted.

get_account_settingsB

Get the effective HTML signature and local style preferences. Gmail's signature takes precedence, with local fallback only when Gmail returns none; lookup failures return an error.

set_account_settingsA

Set local signature (HTML snippet) and/or style preferences for an account. For Gmail, the local signature is fallback only when Gmail returns none. Returns the saved local signature, not Gmail's signature. Clearing local does not clear Gmail; use include_signature: false to omit either source. Use signaturePath to load a signature from a file (useful for signatures with base64 images). signature and signaturePath are mutually exclusive.

remove_accountC

Forget an account and delete its stored tokens.

list_emailsB

List recent emails in a folder of the given account. Pass the user's email address as account; the server routes to the correct backend automatically. Each item may include webUrl, a user-shareable native-client link that requires mailbox access, or webUrlUnavailableReason when no link is available.

get_new_emailsA

Fetch a bounded batch of inbox emails not previously returned by this tool. Agents should call this on their own schedule. Bodies are returned as markdown and may be truncated. Each email may include webUrl, a user-shareable native-client link that requires mailbox access, or webUrlUnavailableReason when no link is available.

search_emailsA

Search emails using optional free text and address filters. cc searches both CC and BCC. Supplied criteria are combined with AND. Pass account to search one account, or omit it to search all registered accounts in parallel. Each item may include webUrl, a user-shareable native-client link that requires mailbox access, or webUrlUnavailableReason when no link is available.

read_emailA

Fetch a single email with full body and recipients by id. Body is returned as body with bodyFormat indicating the format. Default format is 'markdown' — HTML is automatically converted to save context tokens. The response may include webUrl, a user-shareable native-client link that requires mailbox access, or webUrlUnavailableReason when no link is available.

read_attachmentA

Download an email attachment to a temporary file and return its path. Use messageId and attachmentId from a prior read_email call. The response may include the parent message's webUrl, a user-shareable native-client link that requires mailbox access, or webUrlUnavailableReason when no link is available.

list_foldersA

List available mail folders. Returns top-level folders by default, or child folders of the given parent when parentFolderId is provided.

create_folderB

Create a new mail folder. Creates under the root folder by default, or under the specified parent when parentFolderId is provided.

delete_folderC

Delete a mail folder by ID.

rename_folderC

Rename an existing mail folder.

archive_emailA

Archive a message using the provider-native behavior: Gmail removes only the Inbox label (the message stays in All Mail); other providers use their archive folder. Returns webUrl, the shareable native web-client link for the post-operation message; it may be omitted with webUrlUnavailableReason.

trash_emailC

Move a message to the Deleted Items (trash) folder. Returns webUrl, the shareable native web-client link for the post-operation message; it may be omitted with webUrlUnavailableReason.

move_emailB

Move a message to any folder by well-known name (e.g. 'inbox', 'drafts', 'junkemail', 'sentitems', 'outbox') or custom folder ID. Returns webUrl, the shareable native web-client link for the post-operation message; it may be omitted with webUrlUnavailableReason.

mark_readC

Mark a message as read. Returns webUrl, the shareable native web-client link for the post-operation message; it may be omitted with webUrlUnavailableReason.

mark_unreadB

Mark a message as unread. Returns webUrl, the shareable native web-client link for the post-operation message; it may be omitted with webUrlUnavailableReason.

send_emailA

Send an email from the given account using Markdown only; raw HTML is not supported. Use a blank line between paragraphs. Applies account style preferences and appends Gmail's signature first, falling back to the local signature only when Gmail returns none, when include_signature is true. Do not also include a signature in the body. Fails if no signature exists or lookup fails. When inReplyTo is set, sends as a reply (or reply-all) which preserves thread history and conversation threading. When forwardMessageId is set, sends as a forward of the specified message, preserving the original content. inReplyTo and forwardMessageId are mutually exclusive. Returns the resulting message's shareable webUrl when available; recipients must have access to the mailbox to open it.

draft_emailA

Create a draft email from the given account without sending it. Body content must be Markdown only, without raw HTML; use a blank line between paragraphs. Works identically to send_email — when include_signature is true, uses Gmail's signature first and local fallback only when Gmail returns none. Do not also include a signature in the body; fails if no signature exists or lookup fails. Applies style and supports replies and forwards — but saves the message to the Drafts folder instead of sending. Returns the draft message ID and the draft's Markdown body (draftMarkdown). Copy selections from this complete current body or read_email in Markdown. Explicit HTML remains available through read_email(format: 'html'). Returns the draft's shareable webUrl when available; recipients must have access to the mailbox to open it.

edit_draftA

Edit an existing draft email by ID. Only the fields you provide are updated — unmentioned fields stay unchanged. Body edits work like an exact text edit: provide old_text copied from the current draft Markdown (draftMarkdown or a complete current read_email Markdown body) and new_text in Markdown only, without raw HTML, to replace that exact section. Use a blank line between paragraphs. The match must occur exactly once, and all unselected content — including reply/forward history — is preserved. Deprecated body is accepted only as an alias for new_text when old_text is also provided. Returns the draft ID and the draft's updated Markdown body (draftMarkdown). Does not support changing inReplyTo or forwardMessageId — those are set at creation time via draft_email. Returns the draft's shareable webUrl when available; recipients must have access to the mailbox to open it.

send_draftA

Send an existing draft email by ID. Use this with draft IDs returned by draft_email or edit_draft. Returns the resulting message's shareable webUrl when available; recipients must have access to the mailbox to open it.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.5/5.0

Scored across 24 tools

Disambiguation4/5

Most tools have clearly distinct resource+action targets (folders, accounts, drafts, message actions). The main mild overlap is the read-side trio list_emails / get_new_emails / search_emails, where the boundaries are semantic (all vs unseen vs filtered) rather than structural, but descriptions make the intent clear enough.

Naming Consistency5/5

All 24 tools follow snake_case verb_noun form (list_accounts, create_folder, send_email, mark_read, edit_draft). No camelCase or stylistic mixing; even the draft family (draft_email, edit_draft, send_draft) reads consistently as verb+object.

Tool Count4/5

24 tools sits at the heavy end of the range, but the email domain genuinely branches into accounts, folders, reading, composition, and message actions, and each tool maps to a real distinct operation. Slightly over what an agent can scan comfortably, but nothing appears redundant.

Completeness4/5

Coverage is broad: account lifecycle (add/list/remove/settings), folder CRUD, read/search/list, compose/draft/edit/send, plus archive/trash/move/mark actions and attachment download. Minor gaps exist — no way to attach files when sending, no permanent delete/purge, and no thread-level view — but agents can work around these for most workflows.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues