Skip to main content
Glama
zack-zzq

Local Email MCP

by zack-zzq

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
EMAIL_FROMNoSender address, optionally with display name; defaults to the SMTP login account.
EMAIL_TIMEOUTNoTimeout in seconds for each blocking network operation; default 30.
EMAIL_IMAP_TLSNoIMAP TLS mode: ssl (default), starttls, or plain.
EMAIL_PASSWORDNoShared password or client app password; required for password authentication.
EMAIL_POP3_TLSNoPOP3 TLS mode: ssl (default), starttls, or plain.
EMAIL_SMTP_TLSNoSMTP TLS mode: starttls (default), ssl, or plain.
EMAIL_USERNAMENoShared login account, usually the full email address.
EMAIL_AUTH_TYPENoAuthentication type: password (default), oauth2; SMTP can use none.
EMAIL_IMAP_HOSTNoIMAP server hostname or IP; enables IMAP when set.
EMAIL_IMAP_PORTNoIMAP port; default 993 for SSL, 143 otherwise.
EMAIL_POP3_HOSTNoPOP3 server hostname or IP; enables POP3 when set.
EMAIL_POP3_PORTNoPOP3 port; default 995 for SSL, 110 otherwise.
EMAIL_READ_ONLYNoSet to true to prohibit sending, flag changes, moving, and deleting; default false. Downloading attachments is still allowed.
EMAIL_SMTP_HOSTNoSMTP server hostname or IP; enables SMTP when set.
EMAIL_SMTP_PORTNoSMTP port; default 465 for SSL, 587 for STARTTLS, 25 for plain.
EMAIL_TLS_CA_FILENoOptional PEM CA certificate file for private mail servers.
EMAIL_ACCESS_TOKENNoOAuth2 access token used with XOAUTH2; not automatically refreshed.
EMAIL_IMAP_PASSWORDNoOverride shared password for IMAP.
EMAIL_IMAP_USERNAMENoOverride shared login account for IMAP.
EMAIL_POP3_PASSWORDNoOverride shared password for POP3.
EMAIL_POP3_USERNAMENoOverride shared login account for POP3.
EMAIL_READ_PROTOCOLNoRead protocol: imap or pop3; IMAP is preferred if configured, otherwise POP3.
EMAIL_SMTP_PASSWORDNoOverride shared password for SMTP.
EMAIL_SMTP_USERNAMENoOverride shared login account for SMTP.
EMAIL_ATTACHMENT_DIRNoThe only allowed directory for downloaded and sent attachments; default is ~/.email-mcp/attachments.
EMAIL_IMAP_AUTH_TYPENoOverride authentication type for IMAP.
EMAIL_MAX_BODY_CHARSNoMaximum number of body characters returned; default 50000.
EMAIL_POP3_AUTH_TYPENoOverride authentication type for POP3.
EMAIL_SMTP_AUTH_TYPENoOverride authentication type for SMTP; use none for an unauthenticated relay.
EMAIL_IMAP_ACCESS_TOKENNoOverride OAuth2 access token for IMAP.
EMAIL_MAX_MESSAGE_BYTESNoMaximum total message size in bytes; default 26214400 (25 MiB).
EMAIL_POP3_ACCESS_TOKENNoOverride OAuth2 access token for POP3.
EMAIL_SEARCH_SCAN_LIMITNoMaximum number of recent messages scanned per search; default 200, maximum 2000.
EMAIL_SMTP_ACCESS_TOKENNoOverride OAuth2 access token for SMTP.
EMAIL_MAX_ATTACHMENT_BYTESNoMaximum single attachment size in bytes; default 20971520 (20 MiB).

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

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources