Attachments are not attached in outbound mails

Fixes #223