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
  name: 'smsemail'
  port: 993
  username: [email protected]
  password: pass
    - [email protected]