_ Obtains incoming email
_ Parses it into something like a JSON object
_ Hands it off to a database or some software in configurable fashion
_ Explains how one configures it for a variety of common situations (email hosted mostly on Google Apps; email hosted locally; email hosted on mail server in same local network)
If you're interested in building something like that, I bet you'd find a lot of people who were willing to pay for it.