How did you go about the unsubscribe functionality? Also, I think I saw that Gmail has that feature themselves now.
How did you go about the unsubscribe functionality? Also, I think I saw that Gmail has that feature themselves now.
As at Febuary, Gmail introduced new guidelines for bulk email senders to make it easy unsubscribe from by adding a value for "List-Unsubscribe"
https://support.google.com/a/answer/81126?hl=en&visit_id=638...
So unsubscribing is simply a POST request to the value of this email header (List-Unsubscribe) - which is a link and comes as part of the email headers in the Gmail API response
The alternative approach is to parse the content of the email and use regex to get the unsubscribe link using the likely words. e.g links with words like: unsubscribe, opt-out etc..
Yes, Gmail has the unsubscribe functionality. Unfortunately, you cannot mass unsubscribe. If you have over 100 unwanted subscriptions you would have to unsubscribe from each one at a time.
Hope that helps you
That is a valuable info. Thank you!
>The alternative approach is to parse the content of the email and use regex to get the unsubscribe link using the likely words. e.g links with words like: unsubscribe, opt-out etc..
That's how I started to implement it. But then again you will need to go through every unsubscribing process manually...
Best of luck with your extension!
I'm just very wary of giving closed source extensions "the keys to the kingdom" and complete access to all of my eamil.