Mailspring stopped working since upgrading to Pop OS 22.04

I’ve just upgraded to PopOS 22.04 LTS and now mailspring doesn’t start from the icon.

Running from the terminal I get these errors:

> brumley@pop-os:~/snap/mailspring/common$ mailspring
> /snap/mailspring/517/snap/command-chain/desktop-launch: line 52: /home/brumley/.config/user-dirs.dirs: Permission denied
> sed: can't read /home/brumley/.config/user-dirs.dirs: Permission denied
> /snap/mailspring/517/snap/command-chain/desktop-launch: line 261: /home/brumley/.config/user-dirs.dirs: Permission denied
> cp: cannot open '/home/brumley/.config/user-dirs.locale' for reading: Permission denied
> /snap/mailspring/517/snap/command-chain/desktop-launch: line 266: /home/brumley/.config/user-dirs.locale: Permission denied
> /snap/mailspring/517/snap/command-chain/desktop-launch: line 20: /snap/mailspring/517/gnome-platform/usr/lib/x86_64-linux-gnu/libgtk-3-0/gtk-query-immodules-3.0: No such file or directory
> ERROR: /snap/mailspring/517/gnome-platform/usr/lib/x86_64-linux-gnu/libgtk-3-0/gtk-query-immodules-3.0 exited abnormally with status 127
> /snap/mailspring/517/usr/bin/mailspring: error while loading shared libraries: libatk-1.0.so.0: cannot open shared object file: No such file or directory
> brumley@pop-os:~/snap/mailspring/common$ sudo mailspring
> mkdir: cannot create directory '/run/user/0': Permission denied
> /snap/mailspring/517/snap/command-chain/desktop-launch: line 20: /snap/mailspring/517/gnome-platform/usr/lib/x86_64-linux-gnu/libgtk-3-0/gtk-query-immodules-3.0: No such file or directory
> ERROR: /snap/mailspring/517/gnome-platform/usr/lib/x86_64-linux-gnu/libgtk-3-0/gtk-query-immodules-3.0 exited abnormally with status 127
> /snap/mailspring/517/usr/bin/mailspring: error while loading shared libraries: libatk-1.0.so.0: cannot open shared object file: No such file or directory

The permissions on user-dirs.dirs is:
brumley@pop-os:~/snap/mailspring/common$ ls -l /home/brumley/.config/
total 116
drwx------ 12 brumley brumley 4096 Mar 29 09:34 Atom
drwxr-xr-x 3 brumley brumley 4096 Mar 5 22:57 cni
drwx------ 2 brumley brumley 4096 Apr 27 13:01 dconf
drwx------ 2 brumley brumley 4096 Feb 18 22:35 enchant
drwx------ 2 brumley brumley 4096 Feb 18 23:29 eog
drwx------ 3 brumley brumley 4096 Feb 18 22:29 evolution
drwxrwxr-x 3 brumley brumley 4096 Feb 18 22:35 geary
drwxr-xr-x 2 brumley brumley 4096 Feb 24 21:08 gedit
drwx------ 3 brumley brumley 4096 Feb 18 22:34 gnome-control-center
-rw-rw-r-- 1 brumley brumley 5 Feb 18 22:33 gnome-initial-setup-done
drwx------ 3 brumley brumley 4096 Feb 18 22:39 gnome-session
drwxr-xr-x 2 brumley brumley 4096 Feb 18 22:33 goa-1.0
drwx------ 32 brumley brumley 4096 Apr 27 18:41 google-chrome
drwx------ 2 brumley brumley 4096 Apr 27 07:12 gtk-3.0
drwx------ 3 brumley brumley 4096 Feb 18 22:29 ibus
drwxr-xr-x 5 brumley brumley 4096 Apr 14 15:29 joplin-desktop
drwxrwxr-x 3 brumley brumley 4096 Feb 18 22:44 libreoffice
drwx------ 13 brumley brumley 4096 Mar 14 13:19 Mailspring
drwx------ 3 brumley brumley 4096 Mar 3 14:42 menus
-rw-rw-r-- 1 brumley brumley 406 Mar 14 12:55 mimeapps.list
drwxr-xr-x 2 brumley brumley 4096 Feb 18 23:27 nautilus
drwxrwxr-x 2 brumley brumley 4096 Feb 18 22:46 neofetch
drwx------ 2 brumley brumley 4096 Feb 20 21:12 nordvpn
drwxrwxr-x 2 brumley brumley 4096 Feb 18 22:29 pop-shell
drwxrwxr-x 2 brumley brumley 4096 Apr 26 20:40 pop-system-updater
drwx------ 2 brumley brumley 4096 Apr 26 21:13 pulse
drwxrwxr-x 2 brumley brumley 4096 Feb 18 22:29 touchegg
-rw------- 1 brumley brumley 633 Feb 18 22:29 user-dirs.dirs
-rw-rw-r-- 1 brumley brumley 5 Feb 18 22:29 user-dirs.locale

Is anyone else seeing the same and know what the issue is please?

I haven’t seen this problem, but it might be an issue with snap and not your permissions.
Perhaps try reinstalling snap (not just mailspring), here’s a link to somebody’s answer with a similar issue as you:

I had pretty much the same issue. I ended up uninstalling and reinstalling the Mailspring Snap. I then had a problem that I would log in to Mailspring, and be left on a blank window with just a back arrow. Not sure if that’s related to this issue. After several attempts it logged me in and let me set up my mail accounts.