For Excel export. changed the mime type from message/rfc822 to application/vnd.ms-excel.