User manual

Your mail, on your terms.

localmail mirrors every IMAP account you own into a local PostgreSQL database and content-addressable file tree — searchable, scriptable, and yours. This manual walks you from a blank machine to a running archive, step by step.

localmail logo

How the manual is organised

The three "Getting started" pages are sequential — work through them once, in order, on a fresh machine. The "Using localmail" pages are reference material; jump to whichever interface you prefer.

Getting started

Using localmail

What you'll have at the end

Estimated time

~30 minutes for the three setup steps if you already have Postgres and uv installed; ~60 minutes from a completely blank machine. The initial mail sync runs in the background after that and depends on how large your mailboxes are.