Mail Parser Alternatives

I am piping emails to a php script which then handles the mail.

My problem comes in when I want to analyse the raw email data and save it to the particular columns.

I saw there are a few possibilities online such as Mime_MailParser and etc… BUT I can’t use them as they require a certain extension of mail_ to be enabled on the server… and my host wont enable it…

…SO are there any alternatives which can parse raw email and output to a nicely structured array or something?