fixed mime types
adding emails with attachments