> ## Documentation Index
> Fetch the complete documentation index at: https://support.getskara.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# How to use Unsubscribe link in Email Templates

You can add an **unsubscribe** link to your emails using templates that are sent from the Contact / Activity / Deal page or using the compose email option in Inbox, Gmail Chrome extensions, or mobile applications.

This link allows recipients to opt out of receiving such emails from your account.
Adding unsubscribe links to your email communications can help you stay compliant with spam laws (e.g., CAN-SPAM, GDPR, CASL) and improve email deliverability by allowing unengaged recipients to opt out.

You can add the unsubscribe link to the following:

* [Email Templates](#email-templates)

* [Campaign Templates](#campaign-templates)

***

### Email Templates

To add the Unsubscribe link to Email Templates:

1. Navigate to the **More Icon** on the left menu bar.
2. Click on **Email Templates**.
3. You can add the Unsubscribe link to existing templates or create a new one by clicking **New Template**.

<img src="https://mintcdn.com/salesmate/skt_bqXbUodm2quu/emails/faqs/images/mceclip0-10.png?fit=max&auto=format&n=skt_bqXbUodm2quu&q=85&s=39ca82a8b545a099904a5a5a3f78bfc1" alt="mceclip0.png" width="2935" height="1613" data-path="emails/faqs/images/mceclip0-10.png" />

To add the Unsubscribe link here, click on **Attributes** and select the **Unsubscribe** option under Contacts.

<img src="https://mintcdn.com/salesmate/skt_bqXbUodm2quu/emails/faqs/images/mceclip01-4.png?fit=max&auto=format&n=skt_bqXbUodm2quu&q=85&s=81ed21aedc7e39d5a5d8f838d18c947b" alt="mceclip0(1).png" width="2308" height="1378" data-path="emails/faqs/images/mceclip01-4.png" />

It will be inserted as a variable in the Email body.

<img src="https://mintcdn.com/salesmate/skt_bqXbUodm2quu/emails/faqs/images/mceclip1-5.png?fit=max&auto=format&n=skt_bqXbUodm2quu&q=85&s=57686d355e9cd7d847351e3e076d3ce8" alt="mceclip1.png" width="2366" height="1293" data-path="emails/faqs/images/mceclip1-5.png" />

Copy the attribute `{{Contact.unsubscribe}}`, type **Unsubscribe**, then go to **Insert Link**.
Now paste the copied attribute into the URL field and click **Insert**.

<img src="https://mintcdn.com/salesmate/skt_bqXbUodm2quu/emails/faqs/images/mceclip2-3.png?fit=max&auto=format&n=skt_bqXbUodm2quu&q=85&s=47ebe3ba2fae064b8bd45702d8b7b691" alt="mceclip2.png" width="2280" height="1326" data-path="emails/faqs/images/mceclip2-3.png" />

Once you click on Insert, **Unsubscribe** will now appear in your email body.

<img src="https://mintcdn.com/salesmate/skt_bqXbUodm2quu/emails/faqs/images/mceclip3-2.png?fit=max&auto=format&n=skt_bqXbUodm2quu&q=85&s=b3cde63a12ad96735077aa2254c1b60a" alt="mceclip3.png" width="2278" height="1325" data-path="emails/faqs/images/mceclip3-2.png" />

***

### Campaign Templates

To add the Unsubscribe link to Campaign Templates:

You can create a new template or select one of the predefined templates.

<img src="https://mintcdn.com/salesmate/skt_bqXbUodm2quu/emails/faqs/images/mceclip4.png?fit=max&auto=format&n=skt_bqXbUodm2quu&q=85&s=54a06e17d780dbc5dca50f53069eeb74" alt="mceclip4.png" width="2793" height="1141" data-path="emails/faqs/images/mceclip4.png" />

To add the Unsubscribe link here:

* Drag and drop the **Text block** into the editor.
* Select the **Unsubscribe** option from the toolbar.

<img src="https://mintcdn.com/salesmate/skt_bqXbUodm2quu/emails/faqs/images/mceclip7.png?fit=max&auto=format&n=skt_bqXbUodm2quu&q=85&s=c3051287ba45fbd80ed34eb7fbada6d1" alt="mceclip7.png" width="2791" height="1582" data-path="emails/faqs/images/mceclip7.png" />

When the contact receives the email and clicks **Unsubscribe**, they will be redirected to an unsubscribe page where they can choose the reason for unsubscribing:

* I no longer want to receive these emails
* I never signed up for this mailing list
* The emails are inappropriate
* The emails are spam and should be reported
* Other (fill in the reason below)

The contact will receive a success message after submitting the option.

In Salesmate, two fields will be updated:

* * **Email Opt-Out:** `True`

* **Email Opt-Out Reason:** (the chosen reason)

The email field will also be highlighted in **red** as an indication that the contact has opted out of future emails.
