Imap sensor is not being found

This sensor isn’t appearing in my entities. I know it’s trying to contact gmail because I got an insecure app warning (which I since enabled insecure apps). How am I able to consume this sensor?

- platform: imap_email_content
  server: imap.gmail.com
  name: 'smsemail'
  port: 993
  username: [email protected]
  password: pass
  senders:
    - [email protected]

Newbie here - and going through the search to try and find an answer to the same question led me to this post.
I have tried creating a sensor in the configuration.yaml file using the code from here however no matter what I try - I cannot see the sensor. I’ve tried multiple variations, and many reboots of HA - but no matter what I do I have not been able to see this sensor.

My code in the sensor section of the configuration.yaml is


sensor:
  - platform: aarlo
    monitored_conditions:
    - last_capture
    - total_cameras
    - battery_level
    - captured_today
    - signal_strength
    - recent_activity
    
  - platform: imap_email_content
    server: imap.gmail.com
    name: gmail_check
    port: 993
    username: !secret gmail_user
    password: !secret gmail_pass
    folder: INBOX
    senders:
      - [email protected]