changes to config for mail