To notify the customer when a ticket is closed or resolved, please navigate to Admin --> Workflows --> Email Notifications -->Requester Notification-->Turn on the notification for Agent closes the ticket and Agent Resolves a ticket. This would send a notification email whenever a ticket raised by them is marked as Resolved/Closed.