Forget the anchor idea
discourse://open still works via safari address bar, and works for me in iOS Mail too (iOS 15.5). It doesn’t work for me in Yahoo Mail.
I’m not sure if it matters too much what string comes after :// btw, it is enough to use just discourse://. I would look at the source code to decide what strings you can’t safely use to open the Hub.