in reply to email/MIME reader?
You may like mutt. It isn't done in perl, doesn't have a perl interface, but AFAIK, it does most of what you are asking.