public function sendUpdateEmailMessage(Task $task, UserInterface $byUser, array $involvedUsers, array $changes, TypeInterface $type)
    {
        $template = $this->parameters['update']['template'];
        $from = $this->parameters['update']['from_email'];

        $text = $type->getText($task);
        $url = $type->getLink($task);

        $content = $this->templating->render(
            $template,
            [
                'byUser' => $byUser,
                'involvedUsers' => $involvedUsers,
                'changes' => $changes,
                'text' => $text,
                'url' => $url,
            ]
        );

        foreach ($involvedUsers as $involvedUser) {
            $this->sendEmailMessage($content, $from, $involvedUser->getEmail());
        }
    }