trying to fix production issues with mailer