Im away at the moment, so a full response will have to wait, but essentially you now customize by extending the mailHtml blade template.
Take a look at the source file in core to see what i mean - it’s the guts if every email Flarum 2 sends. By providing your own, and using ->extendNameapace(…..) you have full control of it