You can configure tasks to be send to an email or phone number that is configured in a workflow.
For example, for a project, if resource configuration has workflow defined with emails or phone numbers, those will be used to forward a task content.
If you want a task to be sent via email or SMS in a workflow, turn on the feature Send to contacts in a workflow.