mbox.sh

This shell script will extract all headers and
bodies of a MIME email message recursively into a
directory tree. It will also do the reverse
operation, walking through a directory tree and
regenerating a MIME email message. This script
allows you to edit, delete, and add email message
components as if they were files.