#!/usr/bin/env bash

# Source: https://www.reddit.com/r/emacs/comments/6wqfp3/notmuch_delete_mail/
yellow "Clean up deleted email files"
notmuch search --output=files --exclude=false tag:deleted | xargs -I{} rm "{}"
notmuch new
