update config for emails