Installation
MailAtlas is easiest to start from PyPI. Use uv or Homebrew if you prefer a tool-style install.
Chrome or Chromium is only required if you want PDF export.
After installation, you have two ways to bring email in:
- read files already on disk with
ingest emloringest mbox - connect to a live mailbox with
sync imapand fetch selected folders
Recommended path: Python
Section titled “Recommended path: Python”python3.12 -m venv .venvsource .venv/bin/activatepython -m pip install mailatlasmailatlas --helpThe core toolkit does not require any cloud services.
- Install
python -m pip install "mailatlas[api]"only if you want the published API extra. - Install
python -m pip install "mailatlas[ai]"only if you want the published AI extra. - Install Chrome or Chromium only if you want PDF export.
- Set
MAILATLAS_PDF_BROWSERif the browser executable is not on the default path.
Optional path: uv
Section titled “Optional path: uv”python3.12 -m pip install uvuv tool install mailatlasOptional path: Homebrew
Section titled “Optional path: Homebrew”brew tap mailatlas/mailatlasbrew install mailatlasIf Homebrew resolves a different formula named mailatlas, use
brew install mailatlas/mailatlas/mailatlas.
From source
Section titled “From source”Use a source checkout when you want the shipped fixtures, the example API, or editable development:
python3.12 -m venv .venvsource .venv/bin/activatepython -m pip install -e .Optional Demo API
Section titled “Optional Demo API”From a source checkout:
python -m pip install -e ".[api]"uvicorn app:api --reload --port 5001Environment variables for the example API live in the root .env.example.
Next step
Section titled “Next step”- Use Quickstart if your email is already on disk as
.emlfiles. - Use Manual IMAP Sync if MailAtlas should connect to a live mailbox.