Greetings all!
I am trying to mark an imap message read while in an automation with different imap trigger folders with new messages and having problems using the mail uid . I am guessing the trigger id somehow needs to be involved in the imap.seen action but i don't know the syntax i need other than what is shown in the example on the imap documentation page.
I used the following in the gui version of the automation editor for the uid field:
"{{ trigger.event.data['uid'] }}"
I am getting an error when the automation runs like so:
Error: Error rendering data template: UndefinedError: 'dict object' has no attribute 'event'
Help!