IMAP Trigger not returning UID

Hello everyone,
I am currently working with the IMAP Trigger node and I need to access the UID of each incoming email message. According to the following pull request, the IMAP Trigger should return the UID in the attributes field:

https://github.com/n8n-io/n8n/pull/13152

I am running n8n version 1.118.2, which is significantly newer than the merge date of this PR. However, in my setup the IMAP Trigger does not return any attributes.uid field. In fact, I do not see any attributes object at all.

Since I need the UID for a follow-up Cloud Function call (which then archives the email), this is currently blocking my workflow. The native IMAP Trigger does not offer built-in archiving or moving, so the UID would be essential for my use case.

My questions:

  1. Should the IMAP Trigger node in my version already return attributes.uid as described in the PR?

  2. Is there any additional configuration required to enable UID output?

  3. Could this be a bug, or is it possible that the PR changes were merged but not yet released for the IMAP Trigger node specifically?

Any help or clarification would be greatly appreciated. I am still new to building workflows in n8n, so it is possible that I am missing something obvious.

Thanks in advance!

hello @Rajlus

your IMAP trigger is too old. Place a new trigger from the nodes menu

image

2 Likes

Thanks! That helped a lot!!!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.