# owlpost

> owlpost is an open-source MCP server for communication. Read, search, thread and send mail over IMAP and SMTP, with iCloud quirks handled. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, Self-hosted, macOS, Linux, Windows
- **Repository:** https://github.com/smankoo/owlpost
- **MCP Registry name:** io.github.smankoo/owlpost
- **Categories:** [communication](https://ai-powered.com/categories/communication)
- **Listing updated:** 2026-11-23

## About

The author built owlpost after other email servers tripped over real IMAP behaviour: CRLF line endings, RFC822 versus BODY.PEEK[] fetches, per-provider Sent folders and multi-word search values. It is tested end to end against iCloud and Gmail, with notes for Proton Bridge and generic servers.

Several accounts can be configured in an accounts.toml file and chosen by name on every tool call. Passwords can be inline, read from an environment variable, or fetched by a command such as the 1Password CLI. Messages are addressed by folder and UID, searching and reading do not mark mail as read, and sent mail is copied to Sent when the provider does not do it. Conversation following uses Gmail's thread ID where present and Message-ID/References walking otherwise.

Every tool declares read-only and destructive hints so a client can auto-approve reads and confirm sends. It runs from PyPI with uvx or from a container image.

## Features

- **Multiple mail accounts:** Configure several mailboxes and pick one per call.
- **Provider quirk handling:** Handles iCloud empty-body fetches, Sent-folder saving and servers without MOVE.
- **Conversation threading:** Collects a whole thread by Gmail thread ID or by walking references.
- **Drafts and replies:** Save drafts, reply with quoting, forward with attachments, all preserving threading headers.
- **Attachment download:** Lists attachments and saves one to local disk by part index.
- **Tool safety hints:** Each tool is annotated read-only or destructive for client approval prompts.

## Good for

- Triage and search an iCloud or Gmail inbox from Claude Code
- Draft replies for review in your own mail client
- Pull a whole email thread into context
- Archive or flag messages by folder role
- Save invoices and attachments to disk

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add owlpost -- uvx owlpost
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "owlpost": {
      "command": "uvx",
      "args": [
        "owlpost"
      ]
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "owlpost": {
      "command": "uvx",
      "args": [
        "owlpost"
      ]
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "owlpost": {
      "command": "uvx",
      "args": [
        "owlpost"
      ]
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "owlpost": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "owlpost"
      ]
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add owlpost -- uvx owlpost
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.owlpost]
command = "uvx"
args = ["owlpost"]
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "owlpost": {
      "command": "uvx",
      "args": [
        "owlpost"
      ]
    }
  }
}
```

Or run: gemini mcp add -s user owlpost uvx -- owlpost

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "owlpost": {
      "command": "uvx",
      "args": [
        "owlpost"
      ]
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "owlpost": {
      "command": "uvx",
      "args": [
        "owlpost"
      ]
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "owlpost": {
      "command": "uvx",
      "args": [
        "owlpost"
      ]
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "owlpost": {
      "command": "uvx",
      "args": [
        "owlpost"
      ]
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "owlpost": {
      "command": "uvx",
      "args": [
        "owlpost"
      ]
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "owlpost": {
      "command": "uvx",
      "args": [
        "owlpost"
      ]
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "owlpost": {
      "command": "uvx",
      "args": [
        "owlpost"
      ]
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "owlpost": {
      "command": "uvx",
      "args": [
        "owlpost"
      ]
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, 1 of 15 tools deletes data and 3 change data; 5 names don't say. From the server's own tool labels and tool names; not verified by us.

- `list_accounts` (name suggests: reads): List configured mail accounts without passwords.
- `list_folders` (name suggests: reads): List folders for an account with detected special-use roles.
- `resolve_folder`: Resolve a role such as sent or trash to the provider's folder name.
- `search_messages` (name suggests: reads): Structured IMAP search, newest first.
- `read_email` (name suggests: reads): Read one message with headers, body and attachment list.
- `get_conversation` (name suggests: reads): Return all messages in the same thread.
- `save_attachment`: Download an attachment to local disk.
- `send_email` (name suggests: changes): Send mail, saving to Sent where needed.
- `save_draft_email`: Save a message to Drafts without sending.
- `reply_email` (name suggests: changes): Reply or reply-all with threading and quoting.
- `forward_email`: Forward a message, re-attaching its attachments by default.
- `mark_read` (name suggests: reads): Set or unset the Seen flag.
- `flag_message`: Set or unset the Flagged flag.
- `move_email` (name suggests: changes): Move a message to another folder.
- `delete_email` (name suggests: deletes): Move a message to Trash.

## FAQ

### Which providers are tested?

iCloud and Gmail end to end; Proton Bridge and generic IMAP servers are covered by notes.

### How do I keep passwords out of the config?

Use password_env or password_command, for example a 1Password or pass command.

### Does reading mark mail as read?

No. Searching and reading leave the unread state alone.

### Does delete remove mail permanently?

delete_email moves a message to Trash; it is not expunged.

### Is owlpost free?

Yes. owlpost is open source, so you can use and self-host it for free.

### How do I add owlpost to Claude Code?

Run this command in your terminal: claude mcp add owlpost -- uvx owlpost

### What are the best alternatives to owlpost?

The closest alternatives to owlpost are TrendRadar, TryPost, Discord MCP, Gmail MCP and Getmitra.

## Where this comes from

- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [TrendRadar](https://ai-powered.com/mcp/trendradar): TrendRadar is an open-source MCP server for communication.
- [TryPost](https://ai-powered.com/mcp/trypost): TryPost is a paid MCP server for marketing and seo.
- [Discord MCP](https://ai-powered.com/mcp/discord-mcp): Discord MCP is an open-source MCP server for communication.
- [Gmail MCP](https://ai-powered.com/mcp/gmail-mcp-3): Gmail MCP is an open-source MCP server for communication.
- [Getmitra](https://ai-powered.com/mcp/getmitra): Getmitra is an MCP server for communication.
- [Valentina](https://ai-powered.com/mcp/valentina): Valentina is an MCP server for e-commerce.
- [Carla](https://ai-powered.com/mcp/carla): Carla is an MCP server for communication.
- [MCP for iCloud](https://ai-powered.com/mcp/mcp-for-icloud-2): MCP for iCloud is an MCP server for communication.

---
Source: https://ai-powered.com/mcp/owlpost
