# inboxer [Health: Active]

**Category:** 💬 Communication  
**Repository:** https://github.com/clasen/Inboxer  
**GitHub Stars:** 0  
**npm Downloads (last month):** 5544  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/inboxer

## Description
A self-hosted mail layer for agents: persists every inbound and outbound email, exposes an MCP server, and ships a minimal UI to review drafts.

## Tools
Capabilities this server exposes over MCP:

- **list_mailboxes** — Configured mailboxes plus `catchall

## Claude Desktop Quick Installation
No generated config for this server: it installs through its own setup steps.

The project's own setup steps (from https://github.com/clasen/Inboxer), copied verbatim. Follow them in order; they are not an mcpServers config.

1. Install:

```sh
npm install inboxer
```

## Documentation

## What inboxer does

inboxer provides a self-hosted mail layer for agent workflows. It keeps inbound and outbound messages, attachments, drafts, thread relationships, labels, contact context, and audit information in one SQLite database. Agents can inspect conversations, find related mail, prepare replies, and send messages through configured providers.

The service does not impose support policies or decide which messages deserve an answer. Those decisions stay in the calling agent's prompt or application. This makes the same installation usable for scheduled support triage, customer follow-up, mailbox-specific workflows, or ad hoc requests from a personal assistant.

Separate mailboxes can have their own addresses, display names, signatures, and access tokens. Mail sent to an unconfigured address on the domain is placed in the reserved `catchall` mailbox.

## How it works

Inbound mail and delivery events arrive through provider webhook routes. A scheduled synchronization pass checks each provider for events that a webhook may have missed. Messages are grouped first through `In-Reply-To` and `References`; subject and participant matching can also connect a message when reply headers are absent.

The MCP endpoint uses stateless Streamable HTTP at `/mcp`. Every request is authorized with a configured bearer token, and the token name is recorded as the actor in the audit log. Tokens may be granted across all mailboxes or limited to one mailbox.

Agents create drafts with a reviewer note and receive a URL for the review UI. The reviewer can edit the message, add an attachment, send it, or discard it. Concurrent edits are detected rather than silently replaced. Browser access uses one-time login links requested through MCP, with each link signing in one browser.

## Setup and configuration

Install the package with npm and run it on Node.js 22.16 or later or on Bun. `createInboxer` accepts a configuration object and returns fetch-based and Node-style request handlers, along with `ready` and `close` methods. It does not open a listening port itself, so the host application supplies Bun, Node, or another compatible HTTP server.

Configuration includes a public URL, an absolute data directory, mailbox definitions, provider settings, MCP bearer tokens, and UI settings. The data directory contains `inboxer.db` and an attachments folder. Resend is the included email provider, and Kapso is included for WhatsApp; the provider interface can be implemented by another service.

Keep provider credentials, webhook secrets, MCP tokens, and the UI cookie secret outside source control. The application can run standalone or as a roster-server site. It assumes one process, because login-link consumption and draft versioning depend on an in-process write queue.

## Tools and capabilities

- List configured mailboxes, including `catchall`.
- List threads by mailbox, status, labels, or stored contact metadata.
- Retrieve complete threads and search messages by terms, sender, and related criteria.
- Create drafts with reviewer notes, edit or send replies, and retrieve attachments within the configured size limit.
- Apply labels, mark or archive threads, and store contact metadata and notes.
- Request one-time UI login links and maintain an audit trail of token-based actions.

## Limitations and notes

Inboxer supplies storage, threading, delivery, and review mechanics rather than response policies. Applications must provide the rules that determine whether an agent replies automatically or creates a draft. The installation uses one SQLite file and is designed for a single process. Attachment sizes, login-link lifetime, UI upload limits, and draft-send undo time are configurable.

_Full upstream README: https://allmcps.com/mcp/inboxer/readme_

