Ticket Closure

Ticket Closure

Greetings,

How could I use 2 types of email templates for ticket closures?
For example I need a type "A" email template for tickets closed by agents and a type "B" email template for tickets closed automatically after no response. And how could I put these in to a Supervisor Rule?

These are for alerting the contact (the ticket creator).