Mail notifications in helpdesks

I implement notifications about the following events via e-mail:

- creating a ticket (e-mails to customer and helpdesk users)
- assigning a ticket to a user (e-mail to customer)
- sending a message (e-mail either to customer or helpdesk user/team)
- closing a ticket (e-mail either to customer or helpdesk user/team)