For macOS · Universal

Command your inbox like a fortress.

Castellum is a private, AI-powered email client for managers who run projects out of their inbox. Local AI, keyboard-first, and by default your mail stays on your Mac.

Free for noncommercial use· Source available· Universal, Apple Silicon & Intel
⌘ local-only AI j / k to triage
Source available
Runs AI on-device
Your data stays local
Gmail, iCloud + any IMAP
Inside the keep

A calm, keyboard-first command HQ.

Inbox, Active Work, projects, contacts and local-AI summaries and drafts, one fortified place.

Castellum inbox, sidebar with Inbox, Active Work, Projects and Smart Mailboxes, a message list, and a reading pane
The keep

Everything a manager needs to hold the line.

Not another minimalist inbox. Castellum is a command HQ, email, project work, and local AI in one fortified place.

Active Work, not just unread

A project board with Active, Waiting, Someday and Done columns. Link emails and people to a project and keep the follow-ups in one place.

Local AI engine

Summaries and draft replies via Ollama on your own machine. No email content leaves your Mac by default.

Gmail, iCloud, Fastmail & more

Gmail, iCloud, Fastmail and any IMAP/SMTP server, presets fill in the settings; the built-in presets use an app password. Outlook/Microsoft 365 sign-in is coming soon.

Keyboard-first

Fly through your inbox with j/k navigation, ⌘K to search, and a command palette (⇧⌘K) for everything else.

Projects, contacts & calendar

Link emails to project spaces, notes and people, and reply to meeting invites (accept, decline, tentative) right from the message.

Local-only AI

The code has no cloud AI endpoints. Castellum only talks to a model server on your own Mac or network, and refuses any address that is public. If Ollama is running on your Mac at first launch, Castellum turns AI on and points it there.

Why a castle

Your inbox is yours. Full stop.

Most "AI email" tools ship your mail to someone else's servers to work. Castellum is built the opposite way: the walls keep your data in, and the AI comes to it.

  • AI runs on-device with Ollama, no email sent to the cloud.
  • Mail and notes stored in a local SQLite database on your Mac.
  • Mail is stored on your Mac and passwords in the macOS Keychain.
  • No account with us, no analytics, no tracking. Read the source.
No cloud, no API keys

Turn on local AI in three steps.

Castellum's AI runs on your own Mac through a free app called Ollama. No accounts, no subscriptions, nothing sent to the cloud. Setup takes one short command in Terminal.

1 · Install Ollama

Download the free Ollama app and open it once. ollama.com/download: it's a normal Mac app, install and done.

2 · Pull a model

In Terminal, run ollama pull llama3.1, or any other chat model. Smaller models reply faster. Larger ones write better summaries and drafts.

3 · Turn it on

If Ollama was running at first launch, Castellum has already turned AI on. If not, open Settings > AI, tick Enable AI features, press Test Connection and choose a model.

Castellum does not choose a model for you. It lists the models Ollama has installed. See the AI help page for the details.

Bring your own inbox

Works with your email.

Type your address, Castellum detects Gmail, iCloud, Fastmail or Yahoo and fills in the IMAP/SMTP settings, plus exactly how to get an app password. Any other IMAP/SMTP server works too, you just enter its settings once. Outlook/Microsoft 365 sign-in is coming soon.

Gmail / Google Workspace (app password) iCloud Mail (Apple) Fastmail Yahoo Mail Any IMAP/SMTP server Outlook / Microsoft 365, coming soon

Any provider offering standard IMAP/SMTP will work, even without a preset. Need a hand setting one up? See the connect any account guide, or file an issue if you get stuck.

Take the keep

Download Castellum

Free for noncommercial use. Version 0.4.0 is signed and notarised by Apple. Castellum is pre-1.0 software, so expect rough edges.

macOS 13+ Universal Apple Silicon & Intel .dmg ~22 MB Version 0.4.0, notarised
Download for Mac

First launch: right-click the app → Open if macOS asks. Verify the SHA-256 checksum on the release page. Outlook and Microsoft 365 accounts are not supported yet: Microsoft requires OAuth sign-in, which is not built.

Source code: github.com/joanmarcriera/castellum-app. Licensed under the PolyForm Noncommercial License 1.0.0: free for noncommercial use with attribution. Commercial use needs a paid licence from Riera Technologies Ltd (see COMMERCIAL.md).

Good to know

Questions, answered.

Is my email private?

Your mail is stored in a local database on your Mac, and your passwords are in the macOS Keychain. AI is optional and talks only to a model server on your own Mac or network. Castellum refuses a public address. The few requests it does make are listed in the privacy policy.

What does it cost?

Castellum is free for noncommercial use. Using it in or for a business needs a paid commercial licence from Riera Technologies Ltd. The app is in beta and does not currently ask for a licence key.

Which email providers work?

Gmail, iCloud, Fastmail and Yahoo have built-in presets and use an app password; any other IMAP/SMTP account works too, you just enter its settings. Outlook/Microsoft 365 sign-in is coming soon, Microsoft requires OAuth, which isn't built yet.

Do I need the AI part?

No. Castellum is a full email client without it. Local AI (summaries, drafts) is optional and set up in three steps above.

Will it run on my Mac?

It needs macOS 13 or later. The build is universal, so it runs natively on Apple Silicon and on Intel Macs. Local AI needs enough memory for the model you choose.

Can I read the code?

Yes. The source is public, under the PolyForm Noncommercial License 1.0.0. That is source available, not open source in the OSI sense.

Found a bug?

Open Help > Diagnostics and choose Gather Diagnostics to make a redacted bundle. Then attach it to an issue on the issue tracker. Nothing is sent for you.