New advertisers: 50% off your first month with code FIRSTMONTHSee slots
langmail avatar

Imap Mcp

langmail/imap-mcp

Creates draft emails in an IMAP mailbox's Drafts folder for any compatible email server.

GitHub stars
15
tool
1
auth
Secret needed
transport
STDIO
env vars
5
last updated
Nov 19, 2026
View on GitHub

What it does

  • Exposes one tool, create-draft, which saves a message with to, subject, and body, plus an optional from address
  • Saves drafts to "INBOX.Drafts" or "Drafts", depending on the folder layout of the mail server
  • Requires IMAP host, port, username, password, and an SSL flag set through environment variables; runs locally over stdio
  • Designed for drafting replies or outreach emails from an AI assistant for review before sending

Tools

1 tools

Public tool metadata for what this MCP can expose to an agent.

create-draftCreates a draft email message and saves it to the IMAP server's drafts folder.

Creates a draft email message and saves it to the IMAP server's drafts folder.

No parameter schema in public metadata yet.

Configuration

IMAP_HOST*

Hostname of the IMAP server (e.g. imap.example.com)

IMAP_PORTdefault: 993

Port of the IMAP server

IMAP_USERNAME*

Username for IMAP authentication, also the default From address

IMAP_PASSWORD*secret

Password for IMAP authentication

IMAP_USE_SSLdefault: false

Set to true to connect over TLS

Readme

imap-mcp

📧 An IMAP Model Context Protocol (MCP) server to expose IMAP operations as tools for AI assistants.

MIT License code style: prettier MCP Compatible semantic-release: angular

Maintained by the team behind Langmail. Want mail, calendar and contacts for your agent over one hosted MCP, with OAuth and nothing to run? → langmail.me

✨ Features


View the full README on GitHub

Details

Repository
github.com/langmail/imap-mcp
Categories
Email & Messaging, Productivity & Notes
Package
imap-mcp
Transport
STDIO
Auth
Required
Registry
MCP registry, active

More from langmail

All 4

Similar to Imap Mcp

More Email & Messaging