This feature is now available via:
https://github.com/discourse/discourse/commit/f4c7c7bff3e880e1224d7ae05052fd3725797522