create-draftLABSCO 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— takesto,subjectandbody, with an optionalfrom, 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 credentials — npx -y imap-mcp, then supply credentials
USE CASES
Getting a hard email written while it's fresh
Have the assistant draft it into your mailbox; you edit and send from your normal client.
Queuing several replies in one sitting
Draft each one to its recipient and review the whole set in your drafts folder afterwards.
Sending from an address that isn't the login
Set from explicitly instead of accepting the account default.
Keeping mail credentials out of the transcript
The host, user and password live in the environment; nothing about them appears in the conversation.
1 tool
Listed in project docs. Your client may show a different list.
BEFORE YOU INSTALL
What to know first
Tools you get
1 tool named in the project's documentation.
Requires
- npx on PATH
- IMAP_HOST, IMAP_PORT, IMAP_USERNAME, IMAP_PASSWORD and IMAP_USE_SSL for your mail server, set in the env block of the client configuration
INSTALLATION
Connect your client
Add the block to your client, or run the command directly.
Server setup
Configuration file
{
"mcpServers": {
"imap": {
"command": "npx",
"args": [
"imap-mcp"
],
"env": {
"IMAP_HOST": "<YOUR_IMAP_HOST>",
"IMAP_PORT": "<YOUR_IMAP_PORT>",
"IMAP_USERNAME": "<YOUR_IMAP_USERNAME>",
"IMAP_PASSWORD": "<YOUR_IMAP_PASSWORD>",
"IMAP_USE_SSL": "<YOUR_IMAP_USE_SSL>"
}
}
}
}npx
npx -y imap-mcp