feat(editor): ✨ Add cc & bcc + Deletable credentials
This commit is contained in:
@ -192,6 +192,8 @@ const sendEmail = async (
|
||||
recipients: options.recipients.map(parseVariables(variables)),
|
||||
subject: parseVariables(variables)(options.subject ?? ''),
|
||||
body: parseVariables(variables)(options.body ?? ''),
|
||||
cc: (options.cc ?? []).map(parseVariables(variables)),
|
||||
bcc: (options.bcc ?? []).map(parseVariables(variables)),
|
||||
},
|
||||
})
|
||||
console.error(error)
|
||||
|
@ -43,6 +43,8 @@ export type SendEmailStep = StepBase & {
|
||||
export type SendEmailOptions = {
|
||||
credentialsId: string | 'default'
|
||||
recipients: string[]
|
||||
cc?: string[]
|
||||
bcc?: string[]
|
||||
subject?: string
|
||||
body?: string
|
||||
}
|
||||
|
Reference in New Issue
Block a user