DavMail installer now includes Azul JRE with OpenJFX support, so you no longer need to install Java separately.
You can follow the instructions below or just use winget.
winget install davmail
DavMail setup is straightforward, just follow the setup wizard.
Choose language:
Click Next:
Accept GPL licence:
Choose path:
Launch installation and start gateway:
Adjust DavMail settings : Getting started