mcpdirectory.dev
9,129 servers · updated 23 Sept

Imap MCP server

community Active last commit 44 d
{
  "mcpServers": {
    "aiwerk-imap": {
      "command": "npx",
      "args": [
        "-y",
        "@aiwerk/mcp-server-imap@latest"
      ],
      "env": {
        "IMAP_HOST": "<imap_host>",
        "IMAP_USER": "<imap_user>"
      }
    }
  }
}
file .mcp.json (in your project root)install npx -y @aiwerk/mcp-server-imapversion 1.2.1

What it does

This MCP server exposes email reading and management tools via standard IMAP/SMTP, compatible with any email provider. It is for developers who need to integrate email capabilities into AI agents or applications without being locked into a single email service.

  • List, read, search, and retrieve emails from any IMAP mailbox
  • Manage emails by flagging, moving to folders, and deleting messages
  • Send emails and compose replies using SMTP (when explicitly enabled locally)

Tools this server exposes

ToolDoes
email_listList emails from a specified folder with pagination and filtering options
email_readRetrieve and parse the full content of a specific email, including attachments and MIME parts
email_searchSearch emails across a mailbox using IMAP search criteria
email_foldersList all folders and mailboxes available in the email account
email_flagMark emails as read, starred, or apply other IMAP flags
email_moveMove emails from one folder to another
email_deleteDelete emails from the mailbox
email_attachmentDownload or access attachments from emails
email_sendSend an email via SMTP (local-only, disabled by default)
email_replyCompose and send a reply to an existing email (local-only, disabled by default)

Before you enable it

An MCP server runs with whatever access you give it. Start with a development account rather than production, and check which tools the server exposes before you let an agent call them unattended.