fixing export email. mimetype changed to content_type