I have implemented a rest API to trigger an email with different Mail Library like SendGrid, JavaMailAPI, MailChimp,... For JavaMailAPI the SMTP values are not pre-defined in ap