updating retailer mailer to use mime type