Skip to main content
Glama
imap-mcp-server

imap-mcp-server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
BODY_FONTNoFont used for generated HTML bodies.Aptos,Calibri,Arial,sans-serif
FROM_NAMENoSender display name.
IMAP_HOSTYesIMAP mail server host.
IMAP_PORTNoIMAP TLS port.993
SMTP_HOSTYesSMTP mail server host.
SMTP_PORTNoSMTP TLS port.465
ASSETS_DIRNoFolder containing signature images../assets
CALDAV_URLNoCalDAV server URL, e.g. https://cloud.example.com/remote.php/dav. Required for calendar tools.
EMAIL_PASSYesMailbox login password.
EMAIL_USERYesMailbox login username.
CALDAV_PASSNoCalDAV login password. Defaults to the email password.
CALDAV_USERNoCalDAV login username. Defaults to the email login.
MAIL_LOCALENoLocale used when writing the Sent date in quoted replies.en-US
SENT_FOLDERNoExact Sent folder path on the mail server, e.g. INBOX.Sent.Sent
CALENDAR_TZIDNoCalendar time zone ID. Fixed-offset time zones only; DST zones are not supported yet.UTC
DRAFTS_FOLDERNoExact Drafts folder path on the mail server.Drafts
MCP_HTTP_PORTNoPort for the HTTP server.
BODY_FONT_SIZENoFont size used for generated HTML bodies.12pt
MAIL_TIME_ZONENoTime zone used when writing the Sent date in quoted replies.UTC
MCP_AUTH_TOKENNoToken required on the /mcp endpoint. Strongly recommended for HTTP mode.
SEND_API_TOKENNoBearer token that turns on the optional REST API.
CALDAV_CALENDARNoDefault calendar name. Defaults to the first calendar.
SIGNATURE_MARKERNoText used to detect that the signature is already present. Defaults to the first 60 characters of the signature.
INVITE_UTC_OFFSETNoUTC offset used for meeting-invite times.+00:00
CALENDAR_UTC_OFFSETNoCalendar fixed UTC offset.+00:00
SIGNATURE_HTML_FILENoPath to an HTML signature added to drafts and replies.
SIGNATURE_STRIP_LINESNoSign-off lines to drop before adding the signature, as regex alternatives, e.g. 'jane doe|sales team'.
SIGNATURE_IMG_URL_PREFIXNoSignature images under this URL prefix are embedded inline from ASSETS_DIR.

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