diff --git a/astroid/poll.sh b/astroid/poll.sh index 13a6f79..e26767a 100755 --- a/astroid/poll.sh +++ b/astroid/poll.sh @@ -45,5 +45,8 @@ echo "[DEBUG] Mark mails in trash folders read" notmuch tag -unread -- path:Trash/** notmuch tag -unread -- path:Trash.ignore-mod/** +# Remove "new" tag +echo "[DEBUG] Remove the 'new' tag" +notmuch tag -new -- tag:new echo "[DEBUG] poll.sh exited successfully"