Don't think it'll work the way you're thinking of. What you can do though is write a PHP script which uses the IMAP functions to check a specific mailbox then do something with the returned mail info. If you're on *Nix you can add the script to cron so it runs every $x min. or so.
Inetflex has written a trouble ticket system which does this kind of check, so their code may be a place to start looking. Their only requirement is a designated address will receive the emails for a specific category (help desk, hr, etc.) and a database to store the tickets in. Of course, you need IMAP support enabled on PHP🙂 HTH.
http://www.inetflex.com/opensource/
-geoff