During this episode, we setup an API route to allow users to unsubscribe from email notifications.
We will talk through setting up the API route and set a unique token every time we send an email to ensure that the link cannot be used without the correct token.
This project was set up using the T3 stack and Nextjs