mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
feat(IMAP trigger): IMAP trigger node returns message UIDs
This commit is contained in:
parent
29ae2396c9
commit
48587bbef0
|
@ -435,6 +435,9 @@ export class EmailReadImapV1 implements INodeType {
|
|||
textHtml: await getText(parts, message, 'html'),
|
||||
textPlain: await getText(parts, message, 'plain'),
|
||||
metadata: {} as IDataObject,
|
||||
attributes: {
|
||||
uid: message.attributes.uid,
|
||||
} as IDataObject,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -149,6 +149,9 @@ export async function getNewEmails(
|
|||
textHtml: await getText(parts, message, 'html'),
|
||||
textPlain: await getText(parts, message, 'plain'),
|
||||
metadata: {} as IDataObject,
|
||||
attributes: {
|
||||
uid: message.attributes.uid,
|
||||
} as IDataObject,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue