mailbox-search

Read-only HTTP search API over a Mail-in-a-Box Maildir tree.

What it does

Serves message metadata, bodies, and attachments out of /home/user-data/mail/mailboxes without writing to the mail data. Per-token scoping (single domain or all mailboxes), per-token IP pinning, rate limiting, and an audit log of every request.

Endpoints

Auth

Every endpoint except /health requires Authorization: Bearer <token>. Tokens are issued and revoked from the admin console below.

Open admin console

The admin console is restricted to loopback and any IPs configured via ADMIN_ALLOW at install time. From elsewhere it returns 404.


Full reference: API docs and operator README are linked from the admin console once you log in.