github s1t5/mail-archiver 2611.3

25 minutes ago

✨ New Features

  • XRechnung Invoice Preview - XRechnung XML attachments (UBL and CII, invoices and credit notes) are recognized and rendered as a readable A4 PDF directly in the attachment preview. The PDF is generated on demand, is not stored, and is also available through. See E-Invoicing.
  • Health and Metrics for External Monitoring - Authenticated endpoints under /api/v1 expose liveness, readiness, aggregate health and a Prometheus-compatible metrics endpoint. All require an existing API key whose user is an administrator. The metrics endpoint is disabled by default with Metrics:Enabled=false. See Monitoring.
  • Bulk Delete by Filter - Delete every email matching the current search filter in one background job. See Search.
  • Select All Matching - Selection mode can select every email matching the current search across all pages, up to the selection limit, instead of one page at a time. See Search. Thanks @Dulanic.
  • Multilingual Documentation - The documentation is now published in every language the application supports. English stays the authoritative source; the other locales are translated automatically by an LLM through the new translate-docs workflow and carry a visible machine-translation notice.

⚙️ Improvements

  • Missing Originals Are Flagged on the Details Page - With RawMessages:Enabled, the details page shows a notice above the headers for a message without a stored original. It asks the storage backend, so a filesystem file that vanished is flagged too. See Original Message Storage.
  • Missing Original Messages Are Logged as Errors - When an email is archived without its original, the log now carries an error with the email id and the reason: a message above RawMessages:MaxMessageSizeMb, a write failure in the configured backend, or a provider that delivered no usable capture. Previously the size case was silent and a write failure only surfaced as a generic "error saving archived email to database" line.
  • Pagination With Page Jump - The email list shows its navigation below the results, offers the first and last page plus a window around the current one, and has a field to jump directly to a page. A page number past the end lands on the last page instead of an empty list.
  • Resizable Table Columns - The email list and the account overview let you drag a column edge to change its width, so a long sender address no longer squeezes the subject. The widths are not stored; a reload restores the natural layout.
  • Update Hint for Administrators - When GitHub publishes a newer stable release than the installed version, administrators see a small toast in the lower right corner linking to that release. The toast is dismissed per version in the browser, drafts and prereleases are ignored, and the release list is refreshed every six hours instead of once per application lifetime. See Setup.
  • Restore Uses the Stored Original - Restoring an email to a mailbox (IMAP and Microsoft 365) now appends the stored original when one exists, the same cascade as the single-email export. Only emails archived without an original are rebuilt from the archived fields. A stored original that fails its checksum aborts the restore instead of falling back to the rebuild. See Original Message Storage.
  • Original Message Storage Has Its Own Documentation Page - The feature now has a dedicated page (doc/RawMessages.md) covering where the stored original is served, the postgres and filesystem backends, moving existing messages between them with --migrate-raw-storage, verification and backup. Setup.md keeps only the parameter table and links to it. See Original Message Storage.
  • Compact Footer - The footer carries the version and the documentation link only. The copyright year and the separate website link repeated what the version already says.
  • Quiet Bulk Delete - The delete-all-matches action is a plain red link instead of an outlined danger button, so it no longer competes with the search button.
  • Dashboard Cards Without Hover Lift - The four counter cards no longer lift and cast a shadow when the pointer is over them. Thanks @mr-woodapple.

🐛 Bug Fixes

  • Mailbox in the Access Log - Deletion and retention entries now show which mailbox they belong to. The log view resolves the stored account id to the account name, so older entries are covered as well. See Logs.
  • Account Table Keeps Actions Reachable on Narrow Screens - Below roughly 1400 pixels the account table overflowed its card and pushed the page sideways, cutting off the sync and menu buttons. The table now scrolls inside the card, the actions column stays pinned to the right edge, and its dropdown opens outside the scroll container instead of being clipped.
  • Sessions End When the Account Changes - Auth cookies were self-contained, so a password change, an administrator password reset, a deactivation or a role change left every other session valid until the cookie expired, up to seven days with "remember me". Cookies now carry a security stamp that is checked against the user on every request and rotated on those events. The browser that changes its own password is re-issued and stays signed in. See User Management.
  • Deleting an Email Removes Its Stored Original - With the filesystem backend the original message file survived every deletion. The metadata row went with the email through the foreign key cascade, but the file lives outside the database where no cascade can reach it. Retention rules, manual single and bulk deletion, and mail account deletion now remove the file as part of the same operation, after the email row is committed so a failed deletion cannot destroy an original. Files already orphaned by earlier deletions are reclaimed by a new periodic cleanup, so the disk space comes back. See Original Message Storage.
  • Selection After Batch Delete - The selection is cleared when a batch delete is submitted, so deleted emails no longer stay selected and inflate the counter. Thanks @Dulanic.
  • Stable Sort Order in the Email List - Rows that share a sort value (same subject, sender, or day) now fall back to the email id, so paging and "Select all matching" always agree on which emails come first.
  • Sign-In Messages in Every Language - The OIDC messages for a pending approval, a deactivated account and a rejected sign-in were missing in eleven languages, so those deployments showed the English text. All locales now carry them.
  • Untranslated Labels and Messages - Eight strings in the user and account screens, the restore and export views and the deletion status had no resource entry, so the interface displayed the internal key. They are translated in every language now.

Don't miss a new mail-archiver release

NewReleases is sending notifications on new releases.