When using Public Access > Single User Protection the email of the member is empty, this caused errors because the result of GetMembersFromEmail is null