# Gmail List-Unsubscribe Header

**URL:** <https://forum.mautic.org/t/gmail-list-unsubscribe-header/23235>\
**Category:** Product Support\
**Created:** [March 23, 2022, 2:16pm UTC](https://forum.mautic.org/t/gmail-list-unsubscribe-header/23235 "2022-03-23T14:16:26Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dustintitus](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/dustintitus/32/667_2.png) [@dustintitus](https://forum.mautic.org/u/dustintitus)\
**Post date:** [March 23, 2022, 2:16pm UTC](https://forum.mautic.org/t/gmail-list-unsubscribe-header/23235/1 "2022-03-23T14:16:26Z")

</div>

**Your software**  
My Mautic version is: 3.2.4  
My PHP version is: 7.2.34  
My Database type and version is: MySQL 5.0.12

**Your problem**  
My problem is:

We currently don’t have a List-Unsubscribe Header in place, and it is causing anyone who uses the Gmail inline automatic unsubscribe function to remain on our lists. We geta a notification that they’ve used it (to email) but it doesn’t action anything on their account in Mautic

These errors are showing in the log:

Steps I have tried to fix the problem:

We’re not sure what do to for next steps.

---

<div class="post-metadata">

**Author:** ![mzagmajster](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mzagmajster/32/687_2.png) [@mzagmajster](https://forum.mautic.org/u/mzagmajster)\
**Post date:** [March 23, 2022, 4:06pm UTC](https://forum.mautic.org/t/gmail-list-unsubscribe-header/23235/2 "2022-03-23T16:06:59Z")

</div>

Hi,

Gmail transport class probably does not add this header in request message - I had to manually add the header while integrating with another provider.

I think code needs to be adapted for this - and once you look at the right place that is actually pretty easy.

After a quick search I could not locate the right peace of Mautic core / plugin that needs to be adapted. One thing I am sure of - this is actually issue and your are welcome to open the issue on GitHub.

If I actually locate the right peace of code I will post it here and maybe even do the PR.

---

<div class="post-metadata">

**Author:** ![dustintitus](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/dustintitus/32/667_2.png) [@dustintitus](https://forum.mautic.org/u/dustintitus)\
**Post date:** [March 23, 2022, 5:26pm UTC](https://forum.mautic.org/t/gmail-list-unsubscribe-header/23235/3 "2022-03-23T17:26:55Z")

</div>

Any help you can provide is greatly appreciated!

---

<div class="post-metadata">

**Author:** ![enricosigurta](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/enricosigurta/32/3676_2.png) [@enricosigurta](https://forum.mautic.org/u/enricosigurta)\
**Post date:** [April 25, 2022, 1:31pm UTC](https://forum.mautic.org/t/gmail-list-unsubscribe-header/23235/4 "2022-04-25T13:31:42Z")

</div>

Thank you for this post @dustintitus . We are having a similar issue. I’m posting here because most likely it’s related.

To put it simple, when people click on the unsubscribe link from anywhere other than GMail, they are correctly unsubscribed from mautic. But when they click on the unsub link from GMail, they are not deleted (Even if they see the unsubscription confirmation page).

What might be the issue?
