Customising hostname sent in email links for app deeplinking

The whitelisted app can be deployed in such a way that it associates links correctly and deep links into the Discourse instance via the app. Why does your app have to be different?