Update mail settings.