fix production settings for sending mail