IMAP Draft MCP
An MCP server for AI agents to search, read, and write email drafts via IMAP. It supports finding messages, reading headers and attachments, and creating drafts, replies, or forwards. It explicitly cannot send, move, or delete messages, ensuring safety by never touching SMTP.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Search for messages across email accounts
- Read message headers, text, and attachment names
- Write new email drafts
- Create threaded replies or forwards as drafts
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
ghcr.io/zedong-peng/imap-draft-mcp:v0.2.0
{
"transport": "stdio",
"identifier": "ghcr.io/zedong-peng/imap-draft-mcp:v0.2.0",
"registryType": "oci",
"environmentVariables": [
{
"name": "EMAIL_CREDENTIALS",
"isRequired": true,
"description": "Comma-separated address:password[:imap-host[:port]], e.g. me@icloud.com:app-password"
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"imap-draft-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"EMAIL_CREDENTIALS=<YOUR_EMAIL_CREDENTIALS>",
"ghcr.io/zedong-peng/imap-draft-mcp:v0.2.0"
],
"env": {
"EMAIL_CREDENTIALS": "<YOUR_EMAIL_CREDENTIALS>"
}
}
}
}Cline
{
"mcpServers": {
"imap-draft-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"EMAIL_CREDENTIALS=<YOUR_EMAIL_CREDENTIALS>",
"ghcr.io/zedong-peng/imap-draft-mcp:v0.2.0"
],
"env": {
"EMAIL_CREDENTIALS": "<YOUR_EMAIL_CREDENTIALS>"
}
}
}
}VS Code
{
"servers": {
"imap-draft-mcp": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"EMAIL_CREDENTIALS=<YOUR_EMAIL_CREDENTIALS>",
"ghcr.io/zedong-peng/imap-draft-mcp:v0.2.0"
],
"env": {
"EMAIL_CREDENTIALS": "<YOUR_EMAIL_CREDENTIALS>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"imap-draft-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"EMAIL_CREDENTIALS=<YOUR_EMAIL_CREDENTIALS>",
"ghcr.io/zedong-peng/imap-draft-mcp:v0.2.0"
],
"env": {
"EMAIL_CREDENTIALS": "<YOUR_EMAIL_CREDENTIALS>"
}
}
}
}Let your agent find its tools
Find servers like IMAP Draft MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.