Gmail notification no longer works?

I have been using this for years but in the last few weeks it stopped working. Upon investigating, it seems that Home Assistent no longer finds my notify component.

Example automation to test email

alias: Email test
description: ""
mode: single
triggers:
  - at: "19:25:00"
    enabled: false
    trigger: time
conditions: []
actions:
  - data:
      message: This is a test
      title: HA - test
      target:
        - [email protected]
    action: notify.gmail_xxx

configuration.yaml

# SMTP Gmail notification
notify:
  - name: "gmail_xxx"
    platform: smtp
    server: "smtp.gmail.com"
    port: 587
    timeout: 15
    sender: "[email protected]"
    encryption: starttls
    username: "[email protected]"
    password: my_password
    recipient:
      - "aaaa"
    sender_name: "Home Assistent"

When i open my example automation and run it, it says “Action notify.gmail_xxx not found”