Email::Simple seems like it will do the job ..?
In reply to Re: Getting message body structure by skx in thread Getting message body structure by saurabh.hirani