Add sender name parameter to Gmail Node (#2038)

*  Add sender name parameter

*  Small description improvement

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
This commit is contained in:
Ricardo Espinoza
2021-07-30 10:26:57 -04:00
committed by GitHub
parent a661dece4d
commit f372459ecc
3 changed files with 14 additions and 0 deletions

View File

@@ -45,6 +45,7 @@ import {
} from 'lodash';
export interface IEmail {
from?: string;
to?: string;
cc?: string;
bcc?: string;
@@ -355,6 +356,7 @@ export class Gmail implements INodeType {
}
const email: IEmail = {
from: additionalFields.senderName as string || '',
to: toStr,
cc: ccStr,
bcc: bccStr,
@@ -455,6 +457,7 @@ export class Gmail implements INodeType {
}
const email: IEmail = {
from: additionalFields.senderName as string || '',
to: toStr,
cc: ccStr,
bcc: bccStr,