New to home assistant here - I’ve been working on a workaround to home assistant’s inability to automate based on ring cameras detecting motion vs person detection. Alexa routines are also inconsistent at triggering routines which would then trigger home assistant automations. With that in mind, my idea was to have ring linked with the if this then that app - which will send an email every time a person is detected on a camera - with a specific subject line depending on the camera detecting this. So with this in mind, I was going to use IMAP to scan the email subject line when a person is detected, which would then toggle an input_boolean, which would then trigger an automation for my home. I just can’t figure out how the coding works however, the guides have all been inconsistent and don’t function when I input the code myself. How would I go about creating multiple sensors that can toggle different input_booleans based on the subject line of emails received?