Updating config for mail