HA Gmail IMAP integration broken?

I have a sensor defined to monitor the subject line of emails received in my Gmail account. This sensor has been working fine for many months, but today it is no longer working - i.e. it is no longer being trigger by the rules defined.
Has anyone else got this problem? I was wondering whether this has anything to do with the changes to Gmail authentication which were introduced at the end of May?

sensor:
  - platform: imap_email_content
    server: imap.gmail.com
    name: parking_emails
    port: 993
    username: [email protected]
    password: Bridge291120
    senders:
      - [email protected]
    value_template: >-
      {% if 'You have a new booking' in subject %}
        parking_booking
      {% elif 'you have a new JustPark booking' in subject %}
        parking_booking
      {% endif %}

I’ve just upgraded to HA 2022.6.4 (hoping that it might fix the issue), but have noticed that the sensor config is being ignored (without causing any errors in the HA log), The sensor is no longer listed on the States page of the GUI.

Is the imap_email_content platform now broken in HA?

I have the save issue with a none gmail account starting with the first HA 2022.6 update.
Have you been successful in solving this issue by now?

I resolved it by setting up Gmail 2-step authentication, and using the app password in HA

1 Like

Finally found the issue for me, since I use a none Gmail account:

I had to this new command to have it work:

    verify_ssl: False