final fix on production/development mailer