notmuch-dump(1) on Linux
The text 8c70c40e04be, as Debian 11 (Bullseye) shipped it.
creates a plain-text dump of the tags of each message
Flags it lists
-
--format -
--gzip -
--include -
--output