NodeBB does not have a built in email invitiation feature, but you can add a plugin which would allow users to do this.

User invitations can also be configured, for example you can limit the number of invitations a user could send to avoid users spamming others.