Update mail configuration.