[fixes #5297253] fix for wrong refferal link in sent email