The setup of the email message API is done via the following documentation: Mail message API documentation
It is important to configure an email address via the Azure Portal with the right permissions Permissions email address documentation
The following API calls for mail/message exist. Not all of the calls are implemented yet to reduce application objects. Extra functionality can be added.
Please contact feel free to contact me for extra functions or if you have questions.