#!/bin/sh
test $(notmuch search tag:new | wc -l) -gt 0 && notify-send notmuch "new mail"
notmuch tag -new tag:new
