@ -0,0 +1,5 @@
#!/bin/sh
khard email "$@" | grep -E -o "\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,6}\b"
s="$@"
[ "$#" -gt 0 ] && notmuch address "$@" | grep -i "$s"
The note is not visible to the blocked user.