Skip to main content
Glama

mcp-imap-server

MCP (Model Context Protocol) server for IMAP email access. Connect Claude to your mailbox directly.

Setup

npm install
npm run build

Related MCP server: icloud-mcp

Configuration

Copy .env.example to .env and fill in your IMAP credentials:

cp .env.example .env

Claude Desktop / Claude Code Integration

Add to your MCP config (~/.claude.json or Claude Desktop settings):

{
  "mcpServers": {
    "imap": {
      "command": "node",
      "args": ["/path/to/mcp-imap-server/dist/index.js"],
      "env": {
        "IMAP_HOST": "mail.datatp.cloud",
        "IMAP_PORT": "993",
        "IMAP_USER": "your-email",
        "IMAP_PASSWORD": "your-password"
      }
    }
  }
}

Tools

Tool

Description

list_folders

List all mailbox folders

list_messages

List recent messages in a folder

get_message

Fetch a single email by UID

search_messages

Search by subject, from, date, unseen

mark_message

Set/remove flags (read, flagged)

move_message

Move message to another folder

delete_message

Delete or trash a message

create_draft

Create a new draft email

create_reply_draft

Create a reply draft on an existing thread (preserves In-Reply-To/References)

Install Server
F
license - not found
A
quality
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    -
    quality
    D
    maintenance
    An MCP server that enables AI models to read, search, and send emails via IMAP and SMTP protocols. It supports various providers like Gmail and Outlook, allowing for tasks such as retrieving unread messages, searching by sender, and managing mailbox folders.
    Last updated
  • A
    license
    B
    quality
    D
    maintenance
    An MCP server that connects Claude to iCloud Mail for reading, searching, sending, and organizing emails through natural language. It supports advanced management tasks like bulk operations, mailbox organization, and automated rules for inbox maintenance.
    Last updated
    69
    42
    MIT
  • A
    license
    -
    quality
    C
    maintenance
    A secure MCP server that enables Claude to read, search, send, reply, forward, and manage Gmail messages and labels through natural language commands.
    Last updated
    202
    1
    MIT
  • A
    license
    -
    quality
    D
    maintenance
    A cross-platform MCP server that provides Claude with email access via IMAP, supporting multiple email providers and account management.
    Last updated
    MIT

View all related MCP servers

Related MCP Connectors

  • Read, search, send, organize, draft and schedule email across your inboxes from any MCP client.

  • Hosted email MCP for AI agents with inboxes, send/receive, memory, recovery, and credits.

  • Shipmail MCP server for AI agent custom-domain email inboxes with REST API and webhooks.

View all MCP Connectors

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

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