notmuch-thread-reader (224B)
1 #!/usr/bin/env bash 2 set -eo pipefail 3 if [ -z $1 ]; then 4 printf "usage: notmuch-thread-reader <thread-id>\n" 5 exit 1 6 fi 7 8 9 notmuch show --format=mbox $1 > /tmp/$1.mbox 10 neomutt -f /tmp/$1.mbox 11 #sortmail /tmp/$1 12 #lessr /tmp/$1