An open API service indexing awesome lists of open source software.

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

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
```

![](https://f.cloud.github.com/assets/137/326171/7c3a4e48-9b24-11e2-8313-fc659231efc1.png)