mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 18:41:14 +00:00
fix(Gmail Trigger Node): Handle self-sent emails in inbox (#19351)
Co-authored-by: riascho <123465523+riascho@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
61029ef4f8
commit
47f1d14b66
@@ -326,8 +326,11 @@ export class GmailTrigger implements INodeType {
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
if (node.typeVersion > 1.2 && fullMessage.labelIds?.includes('SENT')) {
|
||||
if (
|
||||
node.typeVersion > 1.2 &&
|
||||
fullMessage.labelIds?.includes('SENT') &&
|
||||
!fullMessage.labelIds?.includes('INBOX')
|
||||
) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user