Please add "Return Err" in sendmails.rs. Otherwise, user will not get info, even there is some error when sending mails.