mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-25 04:34:06 -08:00
⚡ Minor improvements to EmailReadImap-Node
This commit is contained in:
parent
730463aa10
commit
1bf57b3c4f
|
@ -1,12 +1,12 @@
|
|||
import { ITriggerFunctions } from 'n8n-core';
|
||||
import {
|
||||
IBinaryData,
|
||||
IBinaryKeyData,
|
||||
IDataObject,
|
||||
INodeExecutionData,
|
||||
INodeType,
|
||||
INodeTypeDescription,
|
||||
ITriggerResponse,
|
||||
IBinaryKeyData,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
import { connect as imapConnect, ImapSimple, ImapSimpleOptions, getParts, Message } from 'imap-simple';
|
||||
|
@ -51,11 +51,11 @@ export class EmailReadImap implements INodeType {
|
|||
options: [
|
||||
{
|
||||
name: 'Mark as read',
|
||||
value: 'read'
|
||||
value: 'read',
|
||||
},
|
||||
{
|
||||
name: 'Nothing',
|
||||
value: 'nothing'
|
||||
value: 'nothing',
|
||||
},
|
||||
],
|
||||
default: 'read',
|
||||
|
@ -69,7 +69,7 @@ export class EmailReadImap implements INodeType {
|
|||
displayOptions: {
|
||||
show: {
|
||||
format: [
|
||||
'simple'
|
||||
'simple',
|
||||
],
|
||||
},
|
||||
},
|
||||
|
@ -107,7 +107,7 @@ export class EmailReadImap implements INodeType {
|
|||
displayOptions: {
|
||||
show: {
|
||||
format: [
|
||||
'resolved'
|
||||
'resolved',
|
||||
],
|
||||
},
|
||||
},
|
||||
|
@ -121,10 +121,10 @@ export class EmailReadImap implements INodeType {
|
|||
displayOptions: {
|
||||
show: {
|
||||
format: [
|
||||
'simple'
|
||||
'simple',
|
||||
],
|
||||
downloadAttachments: [
|
||||
true
|
||||
true,
|
||||
],
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue