You could use a service like SparkPost and setup an inbound domain. Any email send to that domain will be received by SparkPost and posted to an endpoint of your choosing as a JSON object. They have a pretty good PHP client library.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.