Email (imap) automation trigger

Hi there!

I’ve a question about IMAP integration and automations trigger.

I’d like to create an automation triggered by an email received from a specific sender and with a specific text in the email body, but the examples at IMAP - Home Assistant don’t help me understand… How should I do it?

Thanks to anyone who can help!