remove phpmailer dependency