Ticket mailer status and priority issue fix