one liner to get the subtotal from my inbox:

notmuch show --format=raw subject:invoice and from:daniel and tag:inbox | grep -A1000 "Content-Type: application/octet-stream" - | grep -v -e "^--" -e "Content-" | base64 -d | gpg -d | yq .subtotal

Reply to this note

Please Login to reply.

Discussion

No replies yet.