Triggered email template, replace variables in links

Thanks, I have done it with sendGrid implementation. Works for me and user logs in automatically after verification. Why are they giving us code that does not work and lots of errors in it. I’m getting crazy about this!!