'The email addresses of the recipients. Multiple addresses can be separated by a comma. e.g. jay@getsby.com, jon@smith.com.',
},
{
displayName:'BCC',
name:'bccList',
type:'string',
description:
'The email addresses of the blind copy recipients. Multiple addresses can be separated by a comma. e.g. jay@getsby.com, jon@smith.com.',
placeholder:'info@example.com',
default:'',
},
{
displayName:'CC',
name:'ccList',
type:'string',
description:
'The email addresses of the copy recipients. Multiple addresses can be separated by a comma. e.g. jay@getsby.com, jon@smith.com.',
placeholder:'info@example.com',
default:'',
},
{
displayName:'Attachments',
name:'attachmentsUi',
placeholder:'Add Attachment',
type:'fixedCollection',
typeOptions:{
multipleValues: true,
},
options:[
{
name:'attachmentsBinary',
displayName:'Attachment Binary',
values:[
{
displayName:'Attachment Field Name (in Input)',
name:'property',
type:'string',
default:'',
description:
'Add the field name from the input node. Multiple properties can be set separated by comma.',
},
],
},
],
default:{},
description:'Array of supported attachments to add to the message',
},
],
},
{
displayName:'Options',
name:'options',
type:'collection',
placeholder:'Add Option',
displayOptions:{
show:{
resource:['draft'],
operation:['get'],
},
},
default:{},
options:[
{
displayName:'Attachment Prefix',
name:'dataPropertyAttachmentsPrefixName',
type:'string',
default:'attachment_',
description:
"Prefix for name of the binary property to which to write the attachment. An index starting with 0 will be added. So if name is 'attachment_' the first attachment is saved to 'attachment_0'.",
},
{
displayName:'Download Attachments',
name:'downloadAttachments',
type:'boolean',
default:false,
description:"Whether the draft's attachments will be downloaded",
description:'Whether to return all results or only up to a given limit',
},
{
displayName:'Limit',
name:'limit',
type:'number',
displayOptions:{
show:{
operation:['getAll'],
resource:['draft'],
returnAll:[false],
},
},
typeOptions:{
minValue: 1,
maxValue: 500,
},
default:50,
description:'Max number of results to return',
},
{
displayName:'Options',
name:'options',
type:'collection',
placeholder:'Add Option',
default:{},
displayOptions:{
show:{
operation:['getAll'],
resource:['draft'],
},
},
options:[
{
displayName:'Attachment Prefix',
name:'dataPropertyAttachmentsPrefixName',
type:'string',
default:'attachment_',
description:
"Prefix for name of the binary property to which to write the attachments. An index starting with 0 will be added. So if name is 'attachment_' the first attachment is saved to 'attachment_0'.",
},
{
displayName:'Download Attachments',
name:'downloadAttachments',
type:'boolean',
default:false,
description:"Whether the draft's attachments will be downloaded",
},
{
displayName:'Include Spam and Trash',
name:'includeSpamTrash',
type:'boolean',
default:false,
description:'Whether to include messages from SPAM and TRASH in the results',