fix send_mail