// TODO: Add cc, bcc and choice for text as text or html (maybe also from name)
{
displayName:'From Email',
name:'fromEmail',
type:'string',
default:'',
required: true,
placeholder:'admin@example.com',
description:'Email address of the sender optional with name.',
},
{
displayName:'To Email',
name:'toEmail',
type:'string',
default:'',
required: true,
placeholder:'info@example.com',
description:'Email address of the recipient.',
},
{
displayName:'Subject',
name:'subject',
type:'string',
default:'',
placeholder:'My subject line',
description:'Subject line of the email.',
},
{
displayName:'Text',
name:'text',
type:'string',
typeOptions:{
alwaysOpenEditWindow: true,
rows: 5,
},
default:'',
description:'Plain text message of email.',
},
{
displayName:'HTML',
name:'html',
type:'string',
typeOptions:{
rows: 5,
},
default:'',
description:'HTML text message of email.',
},
{
displayName:'Attachments',
name:'attachments',
type:'string',
default:'',
description:'Name of the binary properties which contain<br />data which should be added to email as attachment.<br />Multiple ones can be comma separated.',