Hello,
Thanks for your question about creating an opt-out link for for your emails. You can add it to a template you use for emails, but removing the email from your outgoing list would not be done automatically. It would depend on the service you're using. For example, there are third party services, like MailChimp that provide a way for this to be done automatically through their templates. Services like this provide a way where the opt-out option can be added that will automatically remove people from the email list. Without these services, you would have to manually manage the opt-out option or find a way to develop a solution for it yourself.
I hope this helps to answer your question, please let us know if you require any further assistance.
Regards,
Arnel C.