github postalsys/emailengine v2.90.0

one hour ago

2.90.0 (2026-11-20)

Summary

This release is mostly about replies and forwards. The quote header of an inline reply or forward is now written in the language of the locale, plain-text originals are quoted properly in both the HTML and the text part, and forwards set only the $Forwarded flag. The admin message browser gets a new compose panel and links that open a single message. Underneath, several internal libraries were replaced with maintained ones, and a set of smaller account storage and provider fixes landed.

Who should upgrade

  • Everyone who sends replies or forwards with reference.inline. A forward without a note of its own used to go out with an empty plain-text part, and an HTML reply to a plain-text message carried the quote only in its text part.
  • Gmail API users with an account that failed to connect with a TypeError: an account whose Gmail profile carried no history ID could never connect.
  • No hurry otherwise. There are no security fixes in this release.

Behavior changes

  • The "On ... wrote:" line of a reply and the header lines of a forward now follow the locale of the submission, then the account, then the instance (53 languages). Previously only the date was localized. Set locale to en to keep English.
  • A forward marks the original $Forwarded only. It no longer adds \Answered, and a message that was already answered is now marked $Forwarded too.
  • Web-safe HTML of a plain-text message no longer fixes a 12px sans-serif font, so it takes the font of the host page.
  • /metrics now comes from @prometheus-io/client, the successor of the deprecated prom-client. Every existing metric keeps its name, type and labels; two event loop utilization metrics are new.
  • A .env file is now loaded by Node.js itself instead of dotenv. The syntax is the same; a .env that exists but cannot be read is now reported instead of silently ignored.

Highlights

  • Attachment entries gain a size field with the file size on every backend. On IMAP, encodedSize is the size of the encoded MIME part, about a third larger for base64.
  • /admin/accounts/{account}/browse?message={id} opens one message in the admin message browser, so a back office can link straight to an email by the ID the API and webhooks carry.
  • The admin message browser composes in a docked rich text panel, edits drafts, forwards the original's files one by one and shows unread folder counts. Closing the unsaved message question no longer discards the message.
  • Saving the admin account edit form without changes no longer reconnects the IMAP account.
  • Complaint (ARF) reports keep every recipient regardless of attachment order, and Outlook accounts raise the invalid client secret flag even when no secret is configured.
  • Admin OIDC sign-in is available from boot even when the identity provider could not be reached at startup.
  • The Docker image no longer installs optional native packages, and API workers start faster by loading the passkey library only when a passkey is used.

Features

  • write inline reply and forward headers in the language of the locale (454a6dd)

Bug Fixes

  • anchor the AWS WorkMail MX pattern (1cc357e)
  • connect a Gmail account whose profile carries no history ID (c7cb645)
  • fetch listed Gmail messages ten at a time, not eleven (ac2e0d3)
  • give a reply or forward a text part when it has no text of its own (86522b7)
  • keep account counter names off Object.prototype (35d62b0)
  • keep an unsaved message in the message browser when its save question is dismissed (aace267)
  • keep complaint recipients collected before the feedback report (09b5e84)
  • leave an account field holding undefined out of the stored hash (9e96857)
  • leave optional packages out of the Docker image (6d00ea1)
  • link straight to a message in the admin message browser (9d881a6)
  • load .env with Node's own parser instead of dotenv (23fd4ad)
  • load the passkey library on the first passkey request (2f4280b)
  • look up registrable domains through tldts (942bd43)
  • mark a forwarded message $Forwarded only, and even when it was answered (c52084a)
  • move the Prometheus metrics to @prometheus-io/client (a2c6f63)
  • plain-text quotes, web-safe font and attachment file size (779082e)
  • quote a plain-text original in the HTML part of a reply or forward (2f6a02a)
  • raise the Outlook client secret flag when no secret is configured (6667e8d)
  • refuse a missing API token with a 401 instead of a TypeError (140d88d)
  • register the OIDC sign-in route at boot, before discovery succeeds (a81ee0b)
  • report the file size of attachments (79386b3)
  • resolve @hapi/bell to the root joi 18 (0b77d15)
  • return the usual shape from the IMAP attachment list without a body structure (caaaba9)
  • send error reports through @sentry/core 11 (b6531e5)
  • stop an untouched account edit save from reconnecting IMAP (65ee163)
  • stop re-downloading an API message that came back without content (ba5e272)
  • stop storing account objects as '[object Object]' (324c803)
  • treat an uppercase GET as a GET when placing an Outlook request payload (7a55420)
  • update dependencies (d116dbc)
  • update dependencies (aa47701)
  • update dependencies (2bf0f1b)
  • update dependencies (a61a043)
  • web-safe HTML of plain-text mail no longer fixes the font (484c601)

Don't miss a new emailengine release

NewReleases is sending notifications on new releases.