little change of send_mail