Invites compatibility with SSO

additionally if the email address passed to sso though payload it will be very helpful.