Create AX Case based upon Email

Hi,

I have a client that wishes to create an AX2012 case record automatically, based upon an incoming email. Has anyone ever coded anything such as this before please?

Cheers

Jon