We just open sourced our small python script to parse incoming mail to JSON and do a POST callback to a remote URL.
More details here:https://github.com/Newsman/MailToJson