Mail files are simply text files, with a format that the mail program understands. You can process them with any of the standard UNIX utilities like grep, and read them with editors or paginators.