mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
feat(Email Trigger (IMAP) Node): Limit new mails fetched (#16926)
Co-authored-by: Oleg Ivaniv <me@olegivaniv.com> Co-authored-by: Michael Kret <michael.k@radency.com>
This commit is contained in:
@@ -12,12 +12,13 @@ export class EmailReadImap extends VersionedNodeType {
|
||||
icon: 'fa:inbox',
|
||||
group: ['trigger'],
|
||||
description: 'Triggers the workflow when a new email is received',
|
||||
defaultVersion: 2,
|
||||
defaultVersion: 2.1,
|
||||
};
|
||||
|
||||
const nodeVersions: IVersionedNodeType['nodeVersions'] = {
|
||||
1: new EmailReadImapV1(baseDescription),
|
||||
2: new EmailReadImapV2(baseDescription),
|
||||
2.1: new EmailReadImapV2(baseDescription),
|
||||
};
|
||||
|
||||
super(nodeVersions, baseDescription);
|
||||
|
||||
Reference in New Issue
Block a user