Incoming email notifications are not working on Linux

Mailspring 1.10.3 from snap on Ubuntu 22.40 with Zenity installed.

Notifications are enabled but they doesn’t work at all.

I had this issue as well on Mailspring 1.16.0 with Zenity 4.2.0 installed. I have Mailspring 1.16.0 installed with openSUSE Tumbleweed’s Distrobox image inside Distrobox container (Podman).

Now, it’s working without issues. I tried to build Zenity from source (master branch), in which brought in many dependencies in the process. So, I can’t pinpoint which packages are necessary for the notification to work properly.

But if anyone’s interested, they can download the source, extract it, and cd to the source folder, then:

mkdir build; cd build
meson setup ..; ninja

The build would 100% fail many times. Try looking for the missing dependencies until everything say found: yes. After that, you should have a working notification.