Bug fix on sending reset password email.