Process Incoming emails

Good morning,

I have done some digging but am not really finding an answer or direction to go. I would like to have scriptcase monitor an inbox. When an email comes in I would like it to parse the email address, subject, and body. Is there anything built-in that does this or am I looking at some outside PHP programming for this?

Thanks,

Keith