Can someone please tell me how do I disable the unsubscribe button from sign up confirmation email?
AI-generated summary
Users are discussing why an unsubscribe button appears in confirmation emails sent via Discourse. Cate_Soule asked how to disable it. putty and supermathie explain that Discourse adds an unsubscribe link in the footer, which some email clients (like Gmail) automatically surface as a prominent top-of-email button via the List-Unsubscribe email header. asa and tobiaseigen suggest the issue may stem from the email service misclassifying transactional emails (like sign-up confirmations) as newsletters, triggering the unsubscribe prompt. The consensus is that this is not a Discourse setting to disable directly, but rather a behavior of the email provider or client interpreting the standard unsubscribe header. To remove the visible button, users may need to adjust how their email service handles transactional emails or suppress the List-Unsubscribe header — though doing so may violate email standards or spam regulations.
Which service sends your emails? Sometimes you can deactivate it via the List-Unsubscribe header.
I just tested this again here on meta and here we don’t have that Unsubscribe link at the top, like in your screenshot. So it likely does have to do with your email service which is sending your emails as though they are newsletters, not transactional email. You’ll have to ask them about it.
What happens when you click on that Unsubscribe link? It won’t take you to Discourse because there is no unsubscribe function for transactional emails like signup confirmation.
If Discourse adds an unsubscribe link in the footer, it’ll also be in a mail header which is automatically surfaced by some mail clients (such as Gmail) as an easily visible Unsubscribe link at the top:
List-Unsubscribe: <https://meta.discourse.org/email/unsubscribe/abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyabcdefghijklm>
List-Unsubscribe-Post: List-Unsubscribe=One-Click
…
To unsubscribe from these emails, [click here](https://meta.discourse.org/email/unsubscribe/abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyabcdefghijklm).
But for OP’s concern, @tobiaseigen is on the mark here:
This means your email provider is adding that List-Unsubscribe header to your outgoing email. The easiest way to sort this out is to look at the account confirmation email and find the header, then report back its contents (redacting the actual token as I’ve done above).



