Fixed an issue preventing the app from emailing attached files.