The most simple answer is:
The man page for ripmime says:
ripMIME is a command line tool used to aid in the extraction of
email borne attachments to files which can be processed using
other UNIX tools. ripMIME supports both the RFC MIME standards as
well as being able to behave according to various MUA 'features' which
are often used as exploitation holes.
Of course, it'll likely be a little more complex than just that.
Since you tagged your emails, perhaps start by asking mutt to make a copy of these tagged messages into a single mbox to make the set of them more convenient.
I use ripmime one email at a time, however you'll probably want to use the --maibox option.
ripMIME is feature-rich! Enjoy!