Updating mail settings