This is work I’ve just started doing in a plugin, but requires me to submit a PR to add a DiscourseEvent.trigger to the category model *, so I wondered if the whole feature might have a place upstream.
* I mean I could probably find a way to monkey patch it, but that’s never fun
We want to automatically set this, rather than having to manually update each category’s address.
This would probably take the form of a plugin, which updates everything on startup, hides the edit field, and runs whenever the slug or parent of a category changes.
There would need to be a global setting, to set the domain of the email address, and the plugin would also need to run whenever this changes.
The feature would sit behind a site setting, and in addition to the settings specified in the plugin brief above, a setting to set the subslug divider would also make this more useful for everyone else. We’re going to be going with ., so addresses would be formed like:
Not yet, the migration path headache (particularly around ensuring that users using the old email addresses they might have bounce in a nice way, or don’t bounce at all), and other priorities, made this effort stall.
It’s still on the todo list, just way down there. And if it’s not a feature the team want in core, it’ll work brilliantly as a self contained plugin.
I’ll be sure to update this topic when I do when I do finally get round to doing it, but if it’s further up your priorities list and you wanted to contract someone to do it, I’d be more than happy to help them along with it.