change send mailings logic