Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A collection of imapfilter functions to manage your inboxes.

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 README.md
Octocat-spinner-32 init.lua
README.md

Oh my inbox

A collection of imapfilter functions to manage your inboxes.

GOAL ?

http://inboxzero.com/

How to use it ?

cd ~/.imapfilter
git clone https://github.com/francois2metz/oh-my-inbox

In your config.lua:

package.path = package.path .. ";" .. os.getenv("HOME") .. "/.imapfilter/?/init.lua"
filters = require 'oh-my-inbox'

mailbox = IMAP {
  server = 'imap.example.com',
  ...
}

# Filter trac emails
results = filters.trac(mailbox.INBOX, 'myproject')
# Filter basecamp emails
results = filters.basecamp(mailbox.INBOX, 'myproject')
# Filter googlegroups mails
results = filters.googlegroups(mailbox.INBOX, 'mygroup')

Credits

Inspired by oh-my-zsh.

Created by François de Metz.

License

MIT

Something went wrong with that request. Please try again.