removing unused configurations for mail