Nav27
Ah, I can't help you there. You simply need to follow the pipline of the code. We basically get the raw contents of the email, parse the information into an array of key/values, and then pass the array of data to the Ticket::create() method. The code is fully open-source and available on Github. I wish you good luck as osTicket is monstrous and hard to follow sometimes.
Cheers.