Mailspring snap 1.15 can access just home folder

Hi all,
I’m using Mailspring 1.15.0 as a snap on Ubuntu 24.04. When I need to attach files to an email, those attachments can only come from my Home folder. What if I need to get them from any other folder, where I am the owner?
Thanks in advance, regards

This is a snap sandbox restriction. Snap packages are confined to the home directory by default, and connecting to additional interfaces requires extra permissions. To allow access to removable media and other locations, run:

sudo snap connect mailspring:removable-media

If you need access to a specific directory outside your home folder that isn’t removable media, you may need to either move the files to your home directory first, or switch to the .deb package from the Mailspring website/releases page, which doesn’t have the same sandboxing constraints.