Anticipate the SMTP server settings
Actual SMTP servers need a whole bunch of properties. It would be nice to anticipate and test with the real SMTP. See https://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#mail-properties for the list of standard properties, but beware that some "additional Java mail session properties" might need to be specified.