can get invite to a user by either id or email