I made a plugin that does this for one domain: https://github.com/fenwick67/nodebb-plugin-email-domain-filter
There's no admin interface or anything though, it just uses an environment var for configuring the domain ([email protected]
). It's not in the package manager but somebody could install it via NPM directly.