extract content from emails in qmail queue

Avg Bid (USD)
Project Budget (USD)
$30 - $250

Project Description:
I'm using an apache server with plesk 8.6 installed. I have configured a domain so that all Mail to nonexistent users is delivered to photos at mydomain dot com

I need a php script that will be run by a cron every few minutes and perform the following:

1. find all messages in the inbox . loop through them and perform the following on each:
2. find the address(es) the it was actually sent to (will be something like photos 34 at mydomain dot com or photos 76 at mydomain dot com) - might be multiple addresses
3. extract the number(s) from the address in step 2 (eg 34 and 76)
4. extract the subject of the email as a string
5. extra the 'from' email address and store it in a string
6. extract any images or video attached to the email and store in variables
7. at this point, I will handle saving the images to the server, storing data in a database etc
8. delete the message from the mailbox

Skills required:
Apache, PHP, Plesk, Software Architecture
About the employer:
Public Clarification Board
Bids are hidden by the project creator. Log in as the employer to view bids or to bid on this project.
You will not be able to bid on this project if you are not qualified in one of the job categories. To see your qualifications click here.

Hire rajeshsonisl
$ 309
in 2 days
$ 250
in 5 days
$ 500
in 5 days
Hire helmot
$ 60
in 1 days
$ 200
in 7 days
$ 33
in 3 days
Hire anuyadav1
$ 155
in 3 days
Hire moodsey211
$ 133
in 3 days