Was able to solve the issue. Actually was just an indentation issue on my application.yml.
The starttls should be inside the smpt like this:
mail:
smtp:
trust: "*"
auth: true
starttls:
enabled: true
required: true
connectiontimeout: 5000
timeout: 3000
writetimeout: 5000