changed name method send to send_mail