Local Email MCP
by zack-zzq
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| EMAIL_FROM | No | Sender address, optionally with display name; defaults to the SMTP login account. | |
| EMAIL_TIMEOUT | No | Timeout in seconds for each blocking network operation; default 30. | |
| EMAIL_IMAP_TLS | No | IMAP TLS mode: ssl (default), starttls, or plain. | |
| EMAIL_PASSWORD | No | Shared password or client app password; required for password authentication. | |
| EMAIL_POP3_TLS | No | POP3 TLS mode: ssl (default), starttls, or plain. | |
| EMAIL_SMTP_TLS | No | SMTP TLS mode: starttls (default), ssl, or plain. | |
| EMAIL_USERNAME | No | Shared login account, usually the full email address. | |
| EMAIL_AUTH_TYPE | No | Authentication type: password (default), oauth2; SMTP can use none. | |
| EMAIL_IMAP_HOST | No | IMAP server hostname or IP; enables IMAP when set. | |
| EMAIL_IMAP_PORT | No | IMAP port; default 993 for SSL, 143 otherwise. | |
| EMAIL_POP3_HOST | No | POP3 server hostname or IP; enables POP3 when set. | |
| EMAIL_POP3_PORT | No | POP3 port; default 995 for SSL, 110 otherwise. | |
| EMAIL_READ_ONLY | No | Set to true to prohibit sending, flag changes, moving, and deleting; default false. Downloading attachments is still allowed. | |
| EMAIL_SMTP_HOST | No | SMTP server hostname or IP; enables SMTP when set. | |
| EMAIL_SMTP_PORT | No | SMTP port; default 465 for SSL, 587 for STARTTLS, 25 for plain. | |
| EMAIL_TLS_CA_FILE | No | Optional PEM CA certificate file for private mail servers. | |
| EMAIL_ACCESS_TOKEN | No | OAuth2 access token used with XOAUTH2; not automatically refreshed. | |
| EMAIL_IMAP_PASSWORD | No | Override shared password for IMAP. | |
| EMAIL_IMAP_USERNAME | No | Override shared login account for IMAP. | |
| EMAIL_POP3_PASSWORD | No | Override shared password for POP3. | |
| EMAIL_POP3_USERNAME | No | Override shared login account for POP3. | |
| EMAIL_READ_PROTOCOL | No | Read protocol: imap or pop3; IMAP is preferred if configured, otherwise POP3. | |
| EMAIL_SMTP_PASSWORD | No | Override shared password for SMTP. | |
| EMAIL_SMTP_USERNAME | No | Override shared login account for SMTP. | |
| EMAIL_ATTACHMENT_DIR | No | The only allowed directory for downloaded and sent attachments; default is ~/.email-mcp/attachments. | |
| EMAIL_IMAP_AUTH_TYPE | No | Override authentication type for IMAP. | |
| EMAIL_MAX_BODY_CHARS | No | Maximum number of body characters returned; default 50000. | |
| EMAIL_POP3_AUTH_TYPE | No | Override authentication type for POP3. | |
| EMAIL_SMTP_AUTH_TYPE | No | Override authentication type for SMTP; use none for an unauthenticated relay. | |
| EMAIL_IMAP_ACCESS_TOKEN | No | Override OAuth2 access token for IMAP. | |
| EMAIL_MAX_MESSAGE_BYTES | No | Maximum total message size in bytes; default 26214400 (25 MiB). | |
| EMAIL_POP3_ACCESS_TOKEN | No | Override OAuth2 access token for POP3. | |
| EMAIL_SEARCH_SCAN_LIMIT | No | Maximum number of recent messages scanned per search; default 200, maximum 2000. | |
| EMAIL_SMTP_ACCESS_TOKEN | No | Override OAuth2 access token for SMTP. | |
| EMAIL_MAX_ATTACHMENT_BYTES | No | Maximum 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
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo issues