Skip to main content
Glama
jdickey1

IMAP Email MCP Server

by jdickey1

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
IMAP_TLSNoWhether to use TLS for the IMAP connection.true
IMAP_HOSTYesThe hostname of the IMAP server (e.g., imap.example.com).
IMAP_PORTNoThe port number for the IMAP server.993
IMAP_USERYesThe email address to connect to the IMAP server (e.g., your-email@example.com).
SMTP_HOSTNoThe hostname of the SMTP server. Defaults to IMAP settings if not specified.
SMTP_PORTNoThe port number for the SMTP server.465
SMTP_USERNoThe username for the SMTP server. Defaults to IMAP settings if not specified.
SMTP_SECURENoWhether to use a secure connection for SMTP.true
IMAP_PASSWORDYesThe app-specific password for the email account.
SMTP_PASSWORDNoThe password for the SMTP server. Defaults to IMAP settings if not specified.
IMAP_AUTH_TIMEOUTNoAuthentication timeout in milliseconds.10000
IMAP_TLS_REJECT_UNAUTHORIZEDNoWhether to reject unauthorized TLS certificates.true

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription
list_folders

List all email folders/mailboxes in the IMAP account

list_emails

List emails from a folder with optional filtering

get_email

Get full email content by UID

search_emails

Search emails by subject, from, or body text

list_drafts

List all draft emails

get_draft

Get a specific draft email by UID

create_draft

Create a new draft email

update_draft

Update an existing draft by deleting old and creating new

send_email

Send an email directly

delete_email

Delete an email by UID

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/jdickey1/imap-email-mcp'

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