fixed send_mail in views