Extract attachments and decode MIME encoded email messages
Extract attachments out of MIME encoded email packages
ripmime
$ ripmime -i email.eml
$ ripmime -i email.eml -d /tmp/attachments
$ ripmime -i email.eml -e -d /tmp/output