The convention for the xdg-utils is to exit 2 if a file is not present. Therefore, xdg-email --attach should follow this behavior. See test case xdg-email/t.email_missing_attach
Fixed for BETA2
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.