This is a test release with experimental Ollama support for local AI email classification. Please report any issues!
Local Ollama Support:
- 🏠 Run AI email classification completely locally with Ollama
- 🔒 No data sent to external APIs
- 🆓 No API keys or rate limits
- 🎯 Support for any Ollama model (tinyllama, llama3.2, phi, gemma, etc.)
- ⚙️ CPU-only mode option for systems without GPU
- Install Ollama: https://ollama.com/download
- Pull a model:
ollama pull tinyllama(or llama3.2, phi, gemma, etc.) - Verify it's running:
ollama list
- Open AutoSort+ settings
- Select Ollama as AI provider
- Leave URL as
http://localhost:11434(default) - Select your model from dropdown
- Click Test Connection - should show your installed models
- Click Save Settings
- Select an email
- Right-click → Analyze with AI
- Watch as Ollama classifies it locally!
-
Check Ollama is running:
curl http://localhost:11434/api/tags
Should return list of models
-
Test chat directly:
curl -X POST http://localhost:11434/api/chat \ -H "Content-Type: application/json" \ -d '{"model":"tinyllama","messages":[{"role":"user","content":"test"}],"stream":false}'
Should return a response
-
Enable debug logging:
- Open Browser Console (Ctrl+Shift+J)
- Watch for
[Ollama]messages during analysis - Look for any error messages
-
Common issues:
- 403 errors: Fixed in this release with tab injection approach
- Timeout: Increase wait time or use faster model
- Model not found: Run
ollama pull <model-name>
Please include:
- Thunderbird version
- Ollama version (
ollama --version) - Model used
- Console logs showing the error
This release uses a tab injection approach to bypass Thunderbird's fetch restrictions:
- Opens hidden tab at Ollama origin
- Injects script to make POST request
- Retrieves result and closes tab
- Works like curl - no special permissions needed
If you tested earlier Ollama builds:
- Uninstall old version
- Install this XPI
- Reconfigure Ollama settings
- Test connection again
This is a test release. The Ollama integration is experimental and may have bugs. Please backup your settings before installing.
Installation: Download autosortplus.xpi and drag into Thunderbird Add-ons page
Feedback: Open an issue on GitHub with your results!