I don’t know if this will help you, but this is a working gmail example:
notify:
- name: sendemail
platform: smtp
server: smtp.gmail.com
port: 587
timeout: 15
sender: [email protected]
starttls: true
username: [email protected]
password: mypassword
recipient:
- [email protected]
sender_name: Home Assistant