This merge request improves the checks of generated URLs in emails by removing the hard code part.
Part of #558 (closed)