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
- Signs in to your email
- Reads your inbox
- Decides what to do next
- Picks out the values
- Calls the service's API
- Sends the email (after you approve it)
- Adds rows to your sheet
All 35 steps (as they appear in the app)
- Email account {{email_address}} ({{email_provider}})
- _senders = |
- Check {{folder}} (1 steps each)
- If email_list_unsubscribe not empty
- Find /([^<\s]+@[^>\s]+)/ → _addr
- _addr = {{_addr:lower}}
- Find /@(.+)$/ → _domain
- If _senders contains |{{_addr}}|
- _senders = {{_senders}}{{_addr}}|
- Find /<(https?://[^>]+)>/ → _url
- Find /<mailto:([^>]+)>/ → _mailto
- action = listed
- _wanted =
- If mode equals Unsubscribe from the senders in my list
- If unsubscribe_from contains {{_domain}}
- _wanted = yes
- If unsubscribe_from contains {{_addr}}
- _wanted = yes
- If keep contains {{_domain}}
- _wanted =
- If _wanted equals yes
- If _addr seen in past runs
- action = already unsubscribed earlier
- action = needs you: open {{_url}}
- If email_list_unsubscribe_post matches one-click
- If _url not empty
- POST {{_url}}
- If _status matches ^2
- action = unsubscribed (one-click)
- action = one-click failed ({{_status}}): open {{_url}}
- If _mailto not empty
- Find /^([^?]+)/ → _to
- Email {{_to}}: unsubscribe
- action = unsubscribe email sent to {{_to}}
- 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 Autopilot2. 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 AutopilotWhat 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.