This is a Spring boot application using spring-boot-starter-mail and spring-zeebe-starter to implement an external task worker, which sends emails. The configuration is suitable for gmail.
Generating API secrets: https://support.google.com/accounts/answer/185833