email attachments (and fix email photos)