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]