In email templates, the "https://" needs to be added before the merge field. Add this when the hyperlink is created.
Pls note that we have found that an extra slash "/" or a space at the end of the URL could generate errors such as Invalid URL parameters provided .