fixed email attachments, hopefully