For actions that are performed by any of the agents you can set an automation rule under Admin > Workflows > Automations > Ticket Updates > New rule:
When an action performed by...
Involves any of these events:
Ticket is > Deleted
On tickets with these properties:
Send email to group > Assigned group > customize the email
You can set similar rules for when a ticket is Resolved and Closed.