Command: man perldoc info search(apropos)
notmuch-dump (1) - creates a plain-text dump of the tags of each message