updated ticket pages and sorted email template