AI Model Configuration
Last updated
Premail classifies your email using a large language model. It sends the sender, subject line, and message body to the model and asks it to categorize the message. You pick the provider.

How do you use Anthropic (Claude)?
The default. Premail uses Claude Haiku, which is fast and accurate. It costs roughly $11 per 1,000 emails classified, so a busy inbox adds up. Get an access key from console.anthropic.com and paste it into the AI Model tab.

How do you use OpenAI?
Works the same way. Paste in your OpenAI access key, pick a model. GPT-5 Mini is the default and a reasonable choice if you're already in the OpenAI ecosystem and don't feel like creating another account somewhere.
How do you use Ollama locally?
Ollama runs AI models locally. Nothing gets sent to any external server, which may matter to you a great deal or not at all, depending on your personal threat model.
- 1Download and install Ollama from ollama.com. A small icon will appear in your menu bar after installation.
- 2Open Terminal and pull a model. We recommend
ollama pull qwen3for the best classification quality on local hardware. - 3In Premail's AI Model tab, select Ollama and enter the model name you pulled (e.g.
qwen3).
Performance depends on your hardware. Classification will be slower than cloud providers, and quality varies by model. Larger models are more accurate but slower. qwen3 strikes the best balance we've tested for Premail's filtering tasks.
How do you use Apple Intelligence?
On a Mac running macOS 26 or later with Apple Intelligence support, Premail can classify mail using the on-device Apple Intelligence model instead of a cloud provider or Ollama. There is no API key, no separate AI account, no model to download or choose yourself, and no Ollama install - macOS manages the model for you.
- 1Turn on Apple Intelligence in System Settings, if you haven't already. The pane is called Apple Intelligence & Siri on macOS 26 and just Siri on macOS 27 and later (where Apple Intelligence is on whenever Siri is on).
- 2Let your Mac finish obtaining the on-device model assets. This happens in the background and depends on your network connection.
- 3Return to Premail, select Apple Intelligence in the AI Model tab, and click Check again. Premail reads live readiness from macOS rather than a saved setting, so the panel updates once your Mac reports it is ready.
- 4Confirm it works by dropping a sample .eml file onto Dropzone and checking the classification result.
Still have questions?
Contact Support (for Pro members)