*8948* Fixed broken email links for emails sent by task scheduler