Fix warning messages related to email settings.