Inboxer logo

Inboxer

Self-hosted email storage and MCP tools for reading, drafting, sending, threading, and reviewing agent-managed messages.

Install Inboxer

Run the project’s own setup commands, in order.

Setup steps from the project

inboxer installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Install
    npm install inboxer
    

Overview

inboxer MCP server stores inbound and outbound messages in a local SQLite database and exposes mailbox, thread, search, contact, draft, and sending operations over MCP. It receives provider webhooks, runs periodic backup syncs, and groups related messages into threads using headers, subjects, and participants. A small web UI lets people review, edit, send, or discard agent-created drafts, while audit records identify the token used for actions. Reach for inboxer when an agent needs persistent email workflows with separate mailboxes and human approval before delivery.

Use cases

  • Triage unanswered support threads with an agent
  • Draft customer replies for mobile review
  • Separate support, billing, and feedback mailboxes
  • Search prior conversations before responding
  • Store customer metadata alongside email threads

Key features

  • SQLite-backed inbound and outbound mail storage
  • MCP tools for threads, drafts, search, labels, and contacts
  • Webhook ingestion with periodic provider synchronization
  • Thread matching using headers, subjects, and participants
  • Human review UI with one-time login links
  • Configurable mailbox- and token-level access

Tools1

What Inboxer lets your agent do. Expand a tool for its parameters.

Self-reported~12 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads5.5kPackage downloads in the last 30 days.
Last commit9d agoMost recent push to the default branch.
Tools exposed1Callable tools this server registers over MCP.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How Inboxer works

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.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Inboxer

inboxer is an MCP server that connects agent workflows to configured mailboxes and delivery providers. Its main tools let agents list mailboxes, inspect and search threads, create drafts, reply, label or mark messages, manage contact context, retrieve attachments, and send messages for review or delivery.

Install it with `npm install inboxer`, then create an instance with `createInboxer(config)` in a Node.js or Bun application. Node.js 22.16 or later or Bun is required. The returned handler must be attached to your HTTP server, since `createInboxer` does not listen on a port itself.

Yes, inboxer exposes MCP over Streamable HTTP at `/mcp`, so it can be used with MCP clients that support that transport, including Cursor. Configure the client with the inboxer's MCP URL and a bearer token defined in `mcp.tokens` or a mailbox-specific token.

Inboxer lets an agent create a draft with a reviewer note and URL, then provides a web UI where you can edit, send, or discard it. One-time login links authenticate the browser, and concurrent edits are detected instead of being silently overwritten.

Yes, define multiple mailboxes in the configuration, each with its own address, display name, provider, and optional signatures. Agents can filter by mailbox, while mail sent to an address that matches none of them is placed in the reserved `catchall` mailbox.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewInboxer AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/inboxer?style=directory)](https://allmcps.com/mcp/inboxer)
HTML Embed
<a href="https://allmcps.com/mcp/inboxer"><img src="https://allmcps.com/api/badge/inboxer?style=directory" alt="Inboxer on AllMCPs" /></a>