You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
1.5 KiB
Bash

#!/bin/sh
# IOCOM
notmuch tag +iocom +inbox -- tag:new AND folder:iocom/INBOX
notmuch tag +iocom +netmon -inbox -spam -- tag:new AND folder:iocom/INBOX.netmon
notmuch tag +iocom +builder -spam -- tag:new AND folder:iocom/INBOX.builder
notmuch tag +iocom +info -- tag:new AND folder:iocom/INBOX.info
notmuch tag +iocom +bugzilla -- tag:new AND from:bugzilla-daemon@bugzilla.insors.net
notmuch tag +iocom +draft -- tag:new AND folder:iocom/INBOX.Drafts
notmuch tag +iocom +sent -- tag:new AND folder:iocom/INBOX.Sent
notmuch tag +iocom +spam -- tag:new AND folder:iocom/INBOX.Spam
notmuch tag +iocom +trash -- tag:new AND folder:iocom/INBOX.Trash
notmuch tag +iocom -- tag:new AND folder:iocom/INBOX.Archive
notmuch tag +iocom -inbox -- folder:iocom/INBOX.Archive AND tag:inbox
# Gmail
notmuch tag +gmail +inbox -- tag:new AND folder:gmail/INBOX
notmuch tag +gmail +draft -- tag:new AND folder:gmail/drafts
notmuch tag +gmail +sent -- tag:new AND folder:gmail/sent
notmuch tag +gmail +spam -- tag:new AND folder:gmail/spam
notmuch tag +gmail +trash -- tag:new AND folder:gmail/trash
notmuch tag +gmail -- tag:new AND folder:gmail/archive
notmuch tag +gmail -inbox -- tag:inbox AND tag:gmail NOT folder:gmail/INBOX
# TODO gmail tags
afew --tag --new