update mail settings