Develofly Autopilot
Templates › Email & Inbox › Newsletter unsubscribe helper

Newsletter unsubscribe helper

Find your newsletters and unsubscribe from the unwanted ones.

Email & Inbox

Download the app, freeOpen in Autopilot

Newsletter unsubscribe helper: what it does, step by step

What it does

Finds the mailing lists and newsletters in your inbox (emails with an unsubscribe header) and lists each sender once with its unsubscribe options. In “Unsubscribe” mode it unsubscribes from the senders and domains you list: one-click unsubscribe where the sender supports it (the standard way), otherwise an unsubscribe email (you approve each one), otherwise it gives you the link to open. Senders in “Never touch” are left alone. Start with “List only” and copy the senders you want gone into your list.

How it works

  1. Signs in to your email
  2. Reads your inbox
  3. Decides what to do next
  4. Picks out the values
  5. Calls the service's API
  6. Sends the email (after you approve it)
  7. Adds rows to your sheet
All 35 steps (as they appear in the app)
  1. Email account {{email_address}} ({{email_provider}})
  2. _senders = |
  3. Check {{folder}} (1 steps each)
  4. If email_list_unsubscribe not empty
  5. Find /([^<\s]+@[^>\s]+)/ → _addr
  6. _addr = {{_addr:lower}}
  7. Find /@(.+)$/ → _domain
  8. If _senders contains |{{_addr}}|
  9. _senders = {{_senders}}{{_addr}}|
  10. Find /<(https?://[^>]+)>/ → _url
  11. Find /<mailto:([^>]+)>/ → _mailto
  12. action = listed
  13. _wanted =
  14. If mode equals Unsubscribe from the senders in my list
  15. If unsubscribe_from contains {{_domain}}
  16. _wanted = yes
  17. If unsubscribe_from contains {{_addr}}
  18. _wanted = yes
  19. If keep contains {{_domain}}
  20. _wanted =
  21. If _wanted equals yes
  22. If _addr seen in past runs
  23. action = already unsubscribed earlier
  24. action = needs you: open {{_url}}
  25. If email_list_unsubscribe_post matches one-click
  26. If _url not empty
  27. POST {{_url}}
  28. If _status matches ^2
  29. action = unsubscribed (one-click)
  30. action = one-click failed ({{_status}}): open {{_url}}
  31. If _mailto not empty
  32. Find /^([^?]+)/ → _to
  33. Email {{_to}}: unsubscribe
  34. action = unsubscribe email sent to {{_to}}
  35. Add row: sender, name, domain, latest_subject, received, one_click, unsubscribe_link, act

Get this template

1. Download Develofly Autopilot: free, for Ubuntu and other Linux desktops.

Download Develofly Autopilot

2. The app comes with every template, so this one is already in your library. Click below to open it (or find it under Templates).

Open in Autopilot

What you need

  • An email account (Gmail, Outlook, Yahoo or any IMAP)

You fill in: Email provider, Your email address, App password, What to do, Unsubscribe from (one sender or domain per line), Never touch (one per line), Mail folder, Look back (days), Most emails to read.

Make it yours

Every step is editable in the app: change the site, the columns, the schedule, or chain it with other bots. Run it once, on a schedule, or sell it as your own bot.

More Email & Inbox templates

AI email triage and labellingAI sorts, scores and summarises your unread email.Auto-attachment saverSave inbound attachments to Google Drive (or a folder) by rule.Daily AI email digestA daily AI summary of your unread email.Inbox assistantAI drafts replies to your email; you approve each one.