Labsco
MCP SERVER

IMAP MCP

by dominik1001

Compose an email into your own mail server's Drafts folder, from the conversation.

Email: Mailboxes & Delivery
Summary
It drafts; it does not send.

The one tool writes to the drafts folder and stops, so nothing leaves your mailbox until you open your mail client and press send. That narrow surface is the appeal — the assistant writes, you keep the last word.

What it is

A TypeScript server with a single tool: it composes an email and saves it as a draft on any IMAP server — Gmail, Outlook or your own host.

What you get
  • `create-draft` — takes `to`, `subject` and `body`, with an optional `from`, and writes the message to your drafts folder
  • A draft placed in INBOX.Drafts or Drafts, whichever your server uses
  • Any IMAP-compatible mail host, not one provider
  • Credentials read from the environment rather than typed into the chat
Requirements

Node, launched with `npx imap-mcp`. Five environment variables: `IMAP_HOST`, `IMAP_PORT`, `IMAP_USERNAME`, `IMAP_PASSWORD` and `IMAP_USE_SSL`. The sender defaults to `IMAP_USERNAME` when you leave `from` out.

Setup effort

One command plus a key — npx -y imap-mcp, then supply credentials