Mailspring Linux dependency modernization - Seeking Testers!

Hey folks,

For years, Mailspring has shipped with it’s own builds of key supporting libraries like OpenSSL and curl. When we launched, we were actually shipping /newer/ versions of these than were available on Ubuntu 18 by default. Mailspring needed the latest versions to connect to Gmail et al. with the highest level of security.

In 2025, it no longer makes sense to bundle specific builds of these libraries - it was called out as a security issue in a recent thread, we no longer care about 2016-era OS releases, and compiling (and updating) things like OpenSSL as part of a CI pipeline is difficult.

Starting in the next release, we’re making a few changes:

  • Mailspring will only support active LTS (and newer) OS releases. On Ubuntu, this means Ubuntu 22 instead of Ubuntu 18.
  • Mailspring will have a few new dependencies and rely on system OpenSSL (libcrypto, libssl), libcurl, and libtidy (XML/HTML parsing)

I’ve been able to test the latest edge builds on Ubuntu, but I’d love help verifying they work on a variety of systems prior to rolling it out. I used to have easier access to Arch Linux and friends, but my primary machine is now an ARM Macbook.

You can get the new build here:

DEB: https://mailspring-builds.s3.amazonaws.com/client/849c312/linux/mailspring-1.16.0-amd64.deb

RPM: https://mailspring-builds.s3.amazonaws.com/client/849c312/linux/mailspring-1.16.0-0.1.x86_64.rpm

Snap: snap install mailspring –-edge

Please let me know if there are issues!

3 Likes

On Fedora get the following error trying to install…

nothing provides libtidy.so.5()(64bit) needed by mailspring-1.16.0-0.1.x86_64

On Ubuntu, it installs fine. However, on any Google account it gives a certificate error trying to connect to imap. Works fine on non-Google accounts.

Tested on Ubuntu 24.05 with the Debian package.

On my machine, the installation runs fine.

On startup, I get the following error:

➜  ~ mailspring
[0916/075821.914801:ERROR:third_party/crashpad/crashpad/util/file/directory_reader_posix.cc:43] opendir /home/janosch/.config/Mailspring/Crashpad/attachments/073d04ee-062d-4c2f-9e81-6b6d43809ff0: No such file or directory (2)
[0916/075821.919034:WARNING:third_party/crashpad/crashpad/handler/minidump_to_upload_parameters.cc:67] duplicate annotation name ver, discarding value 1.16.0
[0916/075821.919044:WARNING:third_party/crashpad/crashpad/handler/minidump_to_upload_parameters.cc:67] duplicate annotation name platform, discarding value linux
(electron) 'session.loadExtension' is deprecated and will be removed. Please use 'session.extensions.loadExtension' instead.
Running database migrations
App load time: 172ms

I can’t get any further information from the crashdump. Klicking on “Restore” does also not seem to do or fix anything.

Tried on Ubuntu 24.04.3 LTS with the snap package and got the same error:

mailspring
Gtk-Message: 09:02:04.196: Not loading module "atk-bridge": The functionality is provided by GTK natively. Please try to not load it.
(electron) 'session.loadExtension' is deprecated and will be removed. Please use 'session.extensions.loadExtension' instead.
Running database migrations
App load time: 255ms

After clicking the “rebuild” button this showed up in the terminal and the mailspring process ended:

[1810024:0917/090221.394117:ERROR:content/browser/network_service_instance_impl.cc:597] Network service crashed, restarting service.

Each time I clicked “rebuild” the dialog disappeared and immediately returned until I finally clicked “quit” and then it stopped.

For context, I have:

  • 1 Google Apps Workspace account
  • 1 personal Gmail account
  • 1 Apple iCloud account
  • 1 Zoho account

same issue as previous users tested on debian 12(deepin linux) when I compile from the source , delete all cacche and user directory is the same

Having the same exact issues on Ubuntu 25.10

(electron) 'session.loadExtension' is deprecated and will be removed. Please use 'session.extensions.loadExtension' instead.
Running database migrations
App load time: 195ms
[38422:1110/213507.654114:ERROR:content/browser/network_service_instance_impl.cc:597] Network service crashed, restarting service.