notmuch-dump(1) on Linux
The text 2eb24697513e, as Debian 10 (Buster) shipped it.
creates a plain-text dump of the tags of each message
Flags it lists
-
--format -
--gzip -
--include -
--output