sharing emails and reset password endpoints