#!/bin/sh # remove "unread" from "replied" notmuch tag -unread -new -- tag:replied # tag all "new" messages "inbox" and "unread" notmuch tag +inbox +unread -new -- '(tag:new and folder:mit/INBOX)' # tag my replies as "sent" notmuch tag -new -unread +sent -- '(from:"moreka@mit.edu*" not to:"moreka@mit.edu*" not tag:archived)'