Tasks Notifications. How it works?

When a new Tasks is added, an email will be sent to the user that have the task assigned, for example if we create this new Task:

A notification will be sent:

And if we edit the Task:

An update will be sent: