Skip to main content
Glama
AIWerk

@aiwerk/mcp-server-imap

by AIWerk

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
IMAP_TLSNoUse TLS (default: true)true
SMTP_TLSNoUse TLS (default: true)true
IMAP_HOSTYesIMAP server hostname
IMAP_PASSYesPassword or app-specific password
IMAP_PORTNoIMAP port (default: 993)993
IMAP_USERYesEmail address or username
SMTP_FROMNoSender address (default: value of IMAP_USER)
SMTP_HOSTNoSMTP server hostname (default: value of IMAP_HOST)
SMTP_PASSNoSMTP password (default: value of IMAP_PASS)
SMTP_PORTNoSMTP port (default: 465)465
SMTP_USERNoSMTP username (default: value of IMAP_USER)
IMAP_DEBUGNoVerbose IMAP protocol logging (default: false)false
IMAP_TIMEOUTNoConnection timeout in ms (default: 30000)30000
SMTP_SEND_ENABLEDNoMust be 'true' to enable sending (default: false)false

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
email_list

List emails from a folder

email_read

Read one email including body and attachments metadata

email_search

Search emails by text/header/date criteria

email_folders

List all folders and status counters

email_move

Move email UIDs from one folder to another

email_flag

Set read/star flags on emails

email_delete

Delete emails by moving them to Trash

email_send

Send an email via SMTP

email_reply

Reply to an existing email via SMTP

email_attachment

List or fetch a message attachment

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/AIWerk/mcp-server-imap'

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