add function of sending email.
Good luck