Email unsubscribes have to be passed through Sendgrid and the [unsubscribe] tag would be associated to additional data in this instance.
When you preview an email template, this is solely to be used for checking the Email HTML, formatting etc... and not the functionality of unsubscribing as this will fail by design.
This fails because nothing is being passed through Sendgrid, resulting in the [unsubscribe] tag not being associated to anything on their end.
If you are trying to test an unsubscribe link, the ideal way to test this is to create a campaign, attach the Email Template that you wish to use, and prior to sending it out, send yourself the test email. On any campaign, from Step 2, scroll all the way down to the bottom of the page and find the "Test User Email" field.
In an effort to supply information as quickly as possible, this article has been published prior to a formal technical review, and is subject to factual, grammatical, and various structural errors. Data may be incomplete, misordered, or incorrect.
This additional disclaimer will be removed upon formal review of this article. The standard Punchh Inc. KB Disclaimer still applies, and can be found at: https://support.punchh.com/hc/en-us/articles/360040100273-Punchh-Inc-Knowledge-Base-Disclaimer