also in nodebb-plugin-sso-oauth there is a comment that says nodebb requires email for creating a user, but I have been able to create one with an empty string for email.
does something goes wrong later if some users don't have an email? @Staff
@shayan woops actually it wasn't working for me. It looks like this is a bug. For some reason ./name in the inner loop refers to the name property of the value in the outer loop. I've created an issue: