Better error logging for SMTP errors
Tweaks to the compose upload attachment UI