fixing send_mail