modified sendMailIfRefund.