Is there a bug in Pipedream's New Email in Shared Folder Event not emitting events despite updates in the logs?

This topic was automatically generated from Slack. You can find the original thread here.

Pipedream’s New Email in Shared Folder Event I believe has a bug (sample source/trigger: dc_6Ruqqvb)

  1. Note in the logs the lastDate being updated (screenshot). This implies an event should be emitted.
  2. However, note in events that no event was emitted at 10:21AM (when this trigger ran)
    That said - looking at the code… it looks fine to me? I can’t really see an area where we are not emitting an item, unless something is erroring out in this.$emit but not showing up?

Weirdly, when I redploy, the issue goes away for a bit, and then re-materializes later

found it - id: item.conversationId

any email in a thread has the same conversationId.

This is why item.id is used in the receive mail api

Got it , thank you so much for your effort

I’ve added your issue to the prioritized list. Our component dev will take a look at it very soon :pray: