Skip to content

Releases: capazme/thunderbird-secondbrain

Thunderbird Second Brain 0.2.0

Choose a tag to compare

@capazme capazme released this 04 Sep 22:58

The add-on becomes Thunderbird Second Brain: the thread summarizer is now
one of three tabs, next to saving mail into an Obsidian vault. Repository
renamed from tb-thread-summarizer to thunderbird-secondbrain (the add-on id
is unchanged, so existing installs update in place).

Added

  • Salva tab: saves the displayed message into the vault through the
    Obsidian Local REST API — a verbatim Markdown note with a fully quoted
    frontmatter (Message-ID, thread key, sender, recipients, date, subject,
    client, matter, attachments, .eml path, SHA-256, account, PEC flag), the
    real attachments as files, and the original .eml (always for PEC accounts,
    on request otherwise) with its SHA-256 fingerprint. A line is appended to the
    «Cronologia» section of the matter (or of the client card), and the message
    gets a vault tag in Thunderbird (created if missing).
  • Client suggestion from the sender: exact address, then domain/subdomain,
    read from the client cards in the vault (domini, email frontmatter).
  • Destinations: client (with optional matter), personal correspondence, vault
    inbox. Idempotent: a message already in the vault is detected by Message-ID.
  • Inline parts referenced from the body (signature logos, embedded images:
    contentId or Content-Disposition: inline) are not saved as attachments;
    the popup reports how many were skipped.
  • Promessa tab: creates a «Promessa» note (with prossima_scadenza and
    calendario, so the calendar projector picks it up) or registers a deadline
    on the matter (prossima_scadenza updated only when the new date is
    earlier, plus a line under «⏰ Scadenze»).
  • Options: Obsidian URL and API key with a connection test, vault folders,
    Thunderbird tag name, per-account PEC flag.
  • Pure, dependency-injected modules with unit tests: vault-client,
    frontmatter, anagrafica, nota-corrispondenza, salva, promesse.

Changed

  • Popup title «Second Brain»; the summary starts when its tab is opened (the
    last used tab is remembered). Summary code and protocol are unchanged.
  • Default model preference: granite4, gemma3, llama3, qwen2.5 (qwen3 avoided).
  • Permissions: messagesUpdate, messagesTags, accountsRead added; host
    permissions for localhost:27123 / 127.0.0.1:27123 (Obsidian) added.

Install: download the .xpi below, then in Thunderbird → Add-ons → ⚙ → Install Add-on From File…. Existing 0.1.x installs update automatically.

v0.1.3 — automatic updates

Choose a tag to compare

@capazme capazme released this 14 Jul 14:44

Automatic updates are here. From this version on, Thunderbird checks this
repository for new releases and updates the add-on on its own — no more manual
reinstalls. (Thunderbird does not require add-on signing, so this works without
any signing step.)

One last manual step

This is the version that introduces the auto-update mechanism, so it has to
be installed by hand once:

  1. Download tb-thread-summarizer-0.1.3.xpi below.
  2. Thunderbird → Add-ons Manager → gear → Install Add-on From File….

From 0.1.4 onward, updates install automatically.

Full details in the
CHANGELOG.

v0.1.2 — correct message-count plural

Choose a tag to compare

@capazme capazme released this 14 Jul 14:22

Small fix: the panel now shows "1 messaggio" (correct Italian singular) instead of "1 messaggi", in both the generation line and the summary meta line.

Install: download tb-thread-summarizer-0.1.2.xpi below → Thunderbird → Add-ons Manager → gear → Install Add-on From File.

v0.1.1 — clearer errors + persistent OLLAMA_ORIGINS

Choose a tag to compare

@capazme capazme released this 14 Jul 13:51

Maintenance release.

  • Clearer error when Ollama can't be reached. The panel now explains both
    possible causes — Ollama not started, or started without extension permission
    — and shows the OLLAMA_ORIGINS command inline. (A CORS rejection reaches the
    browser as a plain network error, so the two cases can't be told apart at
    runtime; the message now covers both.)
  • Persist OLLAMA_ORIGINS across reboots. New
    scripts/persist-ollama-origins-macos.sh installs a per-user LaunchAgent so
    you don't have to re-run launchctl setenv after every restart.

Install

Download tb-thread-summarizer-0.1.1.xpi below → Thunderbird → Add-ons
Manager
→ gear → Install Add-on From File….

Full details in the
CHANGELOG.

v0.1.0 — first release

Choose a tag to compare

@capazme capazme released this 14 Jul 13:42

First public release of Thread Summarizer for Thunderbird.

Adds a Riassumi thread button to the message header that summarizes the
current email thread with a local Ollama model — TL;DR, key points,
actions & deadlines, and who is waiting for a reply. Nothing leaves your
machine.

Install

  1. Download tb-thread-summarizer-0.1.0.xpi from the Assets below.
  2. Thunderbird → Add-ons Manager → gear icon → Install Add-on From
    File…
    → pick the .xpi.

Requires Thunderbird ≥ 128 and Ollama running locally
(e.g. ollama pull gemma3). One-time setup so Ollama accepts the extension:

launchctl setenv OLLAMA_ORIGINS "moz-extension://*"   # macOS, then restart Ollama

See the README
for Linux/Windows. Full details in the
CHANGELOG.