Ticket closed email notification

Is there already a way to send an email notification when a ticket is closed? I have a feeling there is and I'm just missing it somewhere.