email functionality for password reset
make email function reusable
Sending email using template