description:'Prefix for name of the binary property to which to<br />write the attachments. An index starting with 0 will be added.<br />So if name is "attachment_" the first attachment is saved to "attachment_0"',
},
{
displayName:'Fields',
name:'fields',
type:'string',
default:'',
description:'Fields the response will contain. Multiple can be added separated by comma.',
},
{
displayName:'Filter',
name:'filter',
type:'string',
default:'',
placeholder:'isRead eq false',
description:'Microsoft Graph API OData $filter query. Information about the syntax can be found <a href="https://docs.microsoft.com/en-us/graph/query-parameters#filter-parameter" target="_blank">here</a>.',
},
],
},
// Update operation
{
displayName:'Update Fields',
name:'updateFields',
type:'collection',
placeholder:'Add Field',
default:{},
displayOptions:{
show:{
resource:[
'draft',
'message',
],
operation:[
'update',
],
},
},
options:[
{
displayName:'BCC Recipients',
name:'bccRecipients',
description:'Email addresses of BCC recipients.',
type:'string',
default:'',
},
{
displayName:'Body Content',
name:'bodyContent',
description:'Message body content.',
type:'string',
default:'',
},
{
displayName:'Body Content Type',
name:'bodyContentType',
description:'Message body content type.',
type:'options',
options:[
{
name:'HTML',
value:'html',
},
{
name:'Text',
value:'Text',
},
],
default:'html',
},
{
displayName:'Categories',
name:'categories',
type:'multiOptions',
typeOptions:{
loadOptionsMethod:'getCategories',
},
default:[],
},
{
displayName:'CC Recipients',
name:'ccRecipients',
description:'Email addresses of CC recipients.',
type:'string',
default:'',
},
{
displayName:'Custom Headers',
name:'internetMessageHeaders',
placeholder:'Add Header',
type:'fixedCollection',
typeOptions:{
multipleValues: true,
},
default:{},
options:[
{
name:'headers',
displayName:'Header',
values:[
{
displayName:'Name',
name:'name',
type:'string',
default:'',
description:'Name of the header.',
},
{
displayName:'Value',
name:'value',
type:'string',
default:'',
description:'Value to set for the header.',
},
],
},
],
},
{
displayName:'From',
name:'from',
description:'The owner of the mailbox which the message is sent.<br>Must correspond to the actual mailbox used.',