> For the complete documentation index, see [llms.txt](https://docs.sprinthub.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sprinthub.com/en/topics/relate/email/email-marketing-configure-the-unsubscribe-button.md).

# Email Marketing - Configure the Unsubscribe button

By default, every email sent using SprintHub's default SMTP will have a SprintHub logo appended to the end of it, with a link called UNSUBSCRIBE. This link will take the customer to a page where they can unsubscribe. This is a standard page from the partner SMTP, where we have no control over the configuration.

To add a custom "unsubscribe" text, as well as give the customer the option to choose the frequency with which they receive emails, you will have to use the token **{unsubscribe\_url}**

Open your Email, and in the email editor, select the "Dynamic Link" block, and drag it to the email area where you want to show the unsubscribe link.

<figure><img src="https://lh4.googleusercontent.com/uKdANSWO-ujMTJtfCEutTxanKq4EM0GRTmQ-QvWtxBh1P5vDrSbVAApJHOgwbO1aHLZvl_KevZiRWt3doC8_CZYTnm-Of_RsgaK6DFQqs92Qjw4KvhoiVqnJJZNi05lx2P9c4szI6JomtKyGIw9aV6o" alt=""><figcaption></figcaption></figure>

Select the Link and, in settings, add the token **{unsubscribe\_url}**

<figure><img src="https://lh3.googleusercontent.com/uIGgkSZSBQ-Fex4CPQcSkpDmEZWmC6nOkGdNVrieYww-IPzOGkks90ftUj1JOWlzOcllbnPyK6vEl0nTZYt1Vx1l0_D-NaDsb3yX77jXG6XTqMaFYijVDo5nz71DT2TpyHF0NDrNAgla-P-Pl5POPlM" alt=""><figcaption></figcaption></figure>

Customize it with any text you prefer, above the unsubscribe link. Something like "If you no longer want to receive our emails, click the link below."

The image below will appear to the customer when they click the link to **Unsubscribe**.

<figure><img src="https://lh3.googleusercontent.com/uPfQXaXkuLBdDO4UWLCk6NNaVhX7abttIEY-hXOJp8jR5ZuBd-ghFRvV_MEXbra62Og27ypvnQttr1yuBYi7AqOcwkkuAdHNlw_TLsUoGJkXEIkQIfv6I6ZsWkDy2zOsk8sTanhvvXNzxvD-9nbn4JM" alt=""><figcaption></figcaption></figure>

Next screen:

<figure><img src="https://lh5.googleusercontent.com/vJAHMIecchHPlYftdBRWRIhm85_jWde-JR7LeKdrLn9Mn2xA43SJts0dMxJx7O8tV3YjZ4OGXaSHt2eWMgltY0celtKVNKJMU9cYxrzTA-0g6btA0s1maMKSGxIBLoj0hHU8-nh5IZIwEShnERzuTCg" alt=""><figcaption></figcaption></figure>

Once that's done, you'll be able to see it in the Lead history. In this case, the Lead clicked to unsubscribe, but ended up selecting a fixed email delivery frequency.

<figure><img src="https://lh6.googleusercontent.com/nTP-4raEJcvpKUnE7uXplTAes5JO5Hv5IFkt7RySDYTdSiyZNg_olEx9QX1QH9BOl7f7xPiIiiqC5agxkUHm5uRo3YyVjoPxrmzQ-aPd3kkY9_yOZUUTR8uYtkjG8iu8a5dVuuzrtvWUodukyXsXCoU" alt=""><figcaption></figcaption></figure>

\
\
Just edit the Lead and in System Data, you'll see how the configuration defined by the Lead turned out.

<figure><img src="https://lh6.googleusercontent.com/iXwyBthcfkqtsHJq4p9gMkORhc0eoDrcwmH_0LWxa1sjYKVEsagf47rhs0JPQtC2uJ0p0eMEJvS0jW1KaTZxknWrplO8Ce-L1k4L9ZO1UvxfaGb4_rKNRJqHDwxkOo8NEhsWkaLU_bIqHNU1Wl9xjz0" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.sprinthub.com/en/topics/relate/email/email-marketing-configure-the-unsubscribe-button.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
