Fixing email settings