You'd need to create a DataObject for the Ticket, a Page that lists the tickets and displays individual ones when clicked upon.
Use onBeforeWrite to create and send a notification e-mail to yourself (and a confirmation email to the client as well) as the Ticket is either created or updated.
Not sure how to handle and insert emails replied to into the site... never done that before.