Package mboxgrep

Displays e-mail messages matching a pattern

mboxgrep is a small utility that scans a mailbox for messages matching a
basic, extended, or Perl-compatible regular expression. Selected
messages can be either displayed on standard output, counted, piped to a
command or written to another mailbox.
It supports mbox (both plain and compressed), MH, nnmh, nnml and maildir

General Commands
Command Description
mboxgrep displays email messages matching a pattern