update mail configs