Send Email using Message events

Hello every body,
I have just started implementing Camunda with java, and I need to send email between participants using message event. According to the documentation(find below), I can send not only messages but also e-mails.
You can find attached example of the process.


link to the docmentation
message-event
Thank you for youe help