I want to create a ticketing system

I'd like to create a ticketing system, where clients would come to the site and submit a ticket for service, it would save it on their ticket history etc and then also email it to us. Any ideas on how to do this? A plugin? Any direction would be greatly appreciated.