https://github.com/afeld/list-unsubscribe
Magic "Unsubscribe" IMAP folder
https://github.com/afeld/list-unsubscribe
Last synced: 9 months ago
JSON representation
Magic "Unsubscribe" IMAP folder
- Host: GitHub
- URL: https://github.com/afeld/list-unsubscribe
- Owner: afeld
- License: mit
- Archived: true
- Created: 2014-03-06T03:37:48.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2014-03-06T03:39:08.000Z (over 12 years ago)
- Last Synced: 2025-01-30T20:40:44.048Z (over 1 year ago)
- Language: Ruby
- Size: 113 KB
- Stars: 0
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# List-Unsubscribe
Automatically unsubscribes from messages threads when moved to a magic "Unsubscribe" IMAP folder.
Messages must support [`List-Unsubscribe` mail header standard](http://www.list-unsubscribe.com/).
## Setup
Requires running your own Heroku cron daemon.
Clone the app
```
$ git clone https://github.com/josh/list-unsubscribe.git
$ cd list-unsubscribe/
```
Create a Heroku app
```
$ heroku create
$ git push heroku master
```
Configure your IMAP and STMP settings.
```
$ heroku config:set IMAP_ADDRESS=imap.gmail.com
$ heroku config:set SMTP_ADDRESS=smtp.gmail.com
$ heroku config:set IMAP_USERNAME=example@gmail.com
$ heroku config:set IMAP_PASSWORD=secret
```
Configure a 10 minute cron schedule.
```
$ heroku addons:add scheduler:standard
$ heroku addons:open scheduler
```
