Notification setup started failing a few months back

I have an action that runs an email. It worked fine via a notify configuration to use my gmail account in the main configuration.yaml and now it fails.

my configuration file starts like this

email setup
notify:

  • name: “gmailemail”
    platform: smtp
    server: “smtp.gmail.com
    port: 587
    timeout: 15

And my action starts like this:

action: notify.gmailemail
data:
title: Low batteries alert at SCL

However if I test run that action HA tells me that the action simply doesn’t exist. This worked fine and then it started to fail, i believe due to HA updates. Can anyone confirm what has changed?