Check out Custom Alert Templates Not Working, I created a detailed response there yesterday and I hope it’s helpful