The task “Enter message” is a form to fill, and the “Send Email” service task only has a type “email” and the number of retries.
The problem, is that they don’t explain how to do it.
In my diagram, I did the same, but it doesn’t work.
So I tried what you suggested me, and I think I am almost there.
The only thing is that, in this example of an email worker, I don’t know if it’s supposed to really send an email or not.
When reading the code, I don’t seem to find the part where it does, but I am not sure.
The example code shows the integration. The actual business logic (in this case sending an email) you need to write in there. The example shows you how to create a worker, write the callback handler function, get variables from the payload, and complete the job.