updated SendEmail

add functionality to SendEmail for sending password change confirm email
and password reset email