msearch (Mail SEARCHer) can search through email folders using user-specified regular expressions for most elements of email headers, bodies, and attachments. Time can be used for searching also. Matched mail can be displayed using your favorite mail agent.