How to: Notify Owner of new ticket

A new page has been added to the wiki.

send email to ticket owner when ticket is created or ownership
of an existing ticket is modified.

It seemed like this was a frequently asked, but not answered question.
Please feel free to edit if I got something wrong.