Ah, I see: That's a way to create a new task out of a note. This is not, what I need.
I want to link a note to an existing task. Up to now, I am using the share ... link function of notes and past the link into the notes field of the task.
I do not think, there's a similar function in Apple Mails, is it?
There are no way to share a message from Apple Mail and link it to task.
Could you please give us a hint - how to create new task with link to particular message in Apple Mail on MacOS or iOS?
Unfortunately I'm not aware of how it can be done at the moment. There is no direct way to make a link. You need to make a new task to bring up the link. Thanks!