Skip to content

Releases

v0.11.0

Choose a tag to compare

@github-actions github-actions released this 21 Oct 21:56
7824320

Changed

  • The configuration files now live in Home Assistant's configuration folder, in mailman/, so they can be
    edited, versioned and backed up with the rest of it. Everything else (the log, the test set, caches and the
    mailbox sign-ins) lives in the app's private folder, which no other app (file editor, Samba, VS Code) can
    read, and which is in the app's own backup.
  • The first start copies both from /addon_configs/<…>_mailman/, compares every file with its copy, and
    leaves the old folder untouched with a MOVED.txt note; delete it once you are happy. If the copy fails, the
    app stops instead of starting on a fresh configuration.
  • The mailbox sign-ins are one file, tokens.json: token.json and token-outlook.json are taken into it at
    the first start and removed.
  • A label's sender index (such as Blocked's) is one file for every mailbox: blocked_index.json and
    outlook_blocked_index.json are merged at the first start.
  • Running it yourself: mailman auth stores the sign-in in data/tokens.json (or MAILMAN_TOKENS); its
    --out and the MAILMAN_TOKEN_FILE and MAILMAN_OUTLOOK_TOKEN_FILE settings are gone. A container keeps
    config/ and data/ in MAILMAN_HOME (default /config), as before.

v0.10.1

Choose a tag to compare

@github-actions github-actions released this 11 Oct 22:30
6466ff3

Changed

  • The page with actions and triggers is called Automations, at #/automations; its tabs stay Actions and
    Triggers. The old addresses #/actions and #/jobs no longer open it.
  • An action's then_run field is labelled "post".
  • Labels that apply to any mailbox no longer say Gmail: "search", "label", the Outcomes page, lookups, list
    sources, and the label clean-up.

v0.10.0

Choose a tag to compare

@github-actions github-actions released this 11 Oct 12:55
fa19d2b

Added

  • An action setting then_run: the emails an action changed then go through an action that applies the rules,
    at the daemon's next round. The starter's unblock runs classify, so unblocked mail is filed, labelled or
    deleted like new mail instead of all landing in the inbox. The Actions page has a field for it.

Existing installations keep their configuration: add then_run: classify to the action unblock (Actions).

v0.9.0

Choose a tag to compare

@github-actions github-actions released this 11 Oct 11:48
f56680a

Added

  • A list setting on_removed_entry: a job that runs, in every mailbox, for each entry you take off the list in
    the interface. The save dialog lists those entries before you save, and Health shows what each run did.
  • The starter configuration's blocked list runs unblock for a sender you take off it, and a new action
    trash_blocked sends what you move to Blocked to Trash.

Fixed

  • A sender taken off the blocked list came back at the next block. Their mail kept the Blocked label, and the
    list is filled from that label. With on_removed_entry: unblock the label comes off with the entry.
  • Mail you moved to Blocked stayed there. trash_blocked sends it to Trash; until now only the sender's
    other mail was trashed.

Existing installations keep their configuration. To get both fixes, add on_removed_entry: unblock to the
blocked list (Lists), and the action trash_blocked with a trigger label_added: Blocked (Actions).

v0.8.0

Choose a tag to compare

@github-actions github-actions released this 11 Oct 10:52
f2c8a57

Changed

  • Outlook: a label is a folder of that name instead of a category, which no mail client shows. Folders are
    made when first needed (Travel/2026 is a subfolder), and your own folders count as labels. Filing puts
    mail in the folder of its first label, or in Archive without one.
  • Outlook: moving an email to the Blocked folder blocks its sender, from wherever it was moved. Mailman makes
    the folder when it starts.

Fixed

  • Outlook: undoing a delete or a spam brings the email back where it was, not to Archive.

v0.7.1

Choose a tag to compare

@github-actions github-actions released this 10 Oct 17:53
64d69be

Added

  • Logs: a Mailbox column says which mailbox (Gmail or Outlook) each email was handled in.

v0.7.0

Choose a tag to compare

@github-actions github-actions released this 10 Oct 15:35
8722746

Added

  • A second mailbox: Outlook.com or Microsoft 365, through Microsoft Graph, sorted by the same rules as Gmail.
    Connect it on Health (a code typed on Microsoft's page) or with mailman auth --outlook; it needs your own
    Microsoft app registration (options outlook_client_id and outlook_tenant). Labels become categories,
    filing moves mail to Archive, and new mail is noticed within a minute. The Documentation tab lists what
    differs from Gmail.
  • Settings outlook.poll_seconds and outlook.archive_folder.

Changed

  • One daemon runs per connected mailbox, and Health shows each. mailman daemon starts one process per
    mailbox; --account runs a single one.
  • The log records which mailbox each email is in, and undo and "This was wrong" act there. An existing log is
    upgraded at the first start; its emails count as Gmail's.
  • A job run from Actions runs in every connected mailbox.

v0.6.0

Choose a tag to compare

@github-actions github-actions released this 09 Oct 11:21
350e573

Added

  • A Test set page: every email the configuration is checked against (the cached sample and the emails you
    marked), what the rules do with each now, and whether that is what you expect. Open one to read it, set or
    clear the outcome and labels you expect, add a note, edit the classifier's stored answers, or remove it from
    the test set.

Changed

  • The Automations page is now called Actions, at #/actions; the old #/jobs address still opens it.

v0.5.1

Choose a tag to compare

@github-actions github-actions released this 05 Oct 19:29

Fixed

  • After an update the browser could show the new page with the previous version's script: the Backup link
    opened Logs, and Import was still on Health. The page is now sent as one document, script and styles
    included, and is never cached.

v0.5.0

Choose a tag to compare

@github-actions github-actions released this 05 Oct 19:23

Added

  • A Backup page with Export (the configuration, or everything including the log and the test set) and Import.

Changed

  • Import moved from Health to the Backup page.

Fixed

  • An import started from a page that was still an older version failed with "[object Object]". The server now
    accepts the upload in either form.