A Thunderbird addon that summarises new emails with Ollama and then forwards the summary to Slack (or whatever you code the extension to do).
Using Ollama means email contents is not sent to an external LLM.
- Windows users install WSL2 using the instructions here
- Install Ollama using the instructions here
- Create a systemd service using the instructions here
- Modify the systemd service file at
/etc/systemd/system/ollama.service
to includeEnvironment="OLLAMA_ORIGINS=moz-extension://*"
. This allows Ollama to receive network requests from Thunderbird. - Enable the service with
sudo systemctl enable ollama
- Start the service with
sudo systemctl start ollama
- Install
llama3
with the commandollama run llama3.2
- Install the extension from here
- Set your email and alias that the summary will be sent to in the extension preferences
Run this command to allow Thunderbird to access Ollama:
launchctl setenv OLLAMA_ORIGINS "moz-extension://*"
Get the extension from the Thunderbird AddOns website.