mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-20 11:22:15 +00:00
⚡ Minor improvements to EmailReadImap-Node
This commit is contained in:
@@ -1,12 +1,12 @@
|
|||||||
import { ITriggerFunctions } from 'n8n-core';
|
import { ITriggerFunctions } from 'n8n-core';
|
||||||
import {
|
import {
|
||||||
IBinaryData,
|
IBinaryData,
|
||||||
|
IBinaryKeyData,
|
||||||
IDataObject,
|
IDataObject,
|
||||||
INodeExecutionData,
|
INodeExecutionData,
|
||||||
INodeType,
|
INodeType,
|
||||||
INodeTypeDescription,
|
INodeTypeDescription,
|
||||||
ITriggerResponse,
|
ITriggerResponse,
|
||||||
IBinaryKeyData,
|
|
||||||
} from 'n8n-workflow';
|
} from 'n8n-workflow';
|
||||||
|
|
||||||
import { connect as imapConnect, ImapSimple, ImapSimpleOptions, getParts, Message } from 'imap-simple';
|
import { connect as imapConnect, ImapSimple, ImapSimpleOptions, getParts, Message } from 'imap-simple';
|
||||||
@@ -51,11 +51,11 @@ export class EmailReadImap implements INodeType {
|
|||||||
options: [
|
options: [
|
||||||
{
|
{
|
||||||
name: 'Mark as read',
|
name: 'Mark as read',
|
||||||
value: 'read'
|
value: 'read',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'Nothing',
|
name: 'Nothing',
|
||||||
value: 'nothing'
|
value: 'nothing',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
default: 'read',
|
default: 'read',
|
||||||
@@ -69,7 +69,7 @@ export class EmailReadImap implements INodeType {
|
|||||||
displayOptions: {
|
displayOptions: {
|
||||||
show: {
|
show: {
|
||||||
format: [
|
format: [
|
||||||
'simple'
|
'simple',
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@@ -107,7 +107,7 @@ export class EmailReadImap implements INodeType {
|
|||||||
displayOptions: {
|
displayOptions: {
|
||||||
show: {
|
show: {
|
||||||
format: [
|
format: [
|
||||||
'resolved'
|
'resolved',
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@@ -121,10 +121,10 @@ export class EmailReadImap implements INodeType {
|
|||||||
displayOptions: {
|
displayOptions: {
|
||||||
show: {
|
show: {
|
||||||
format: [
|
format: [
|
||||||
'simple'
|
'simple',
|
||||||
],
|
],
|
||||||
downloadAttachments: [
|
downloadAttachments: [
|
||||||
true
|
true,
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user