fix purchase mailer