feat(Gmail Node): Add reply to email (#6453)

Co-authored-by: Matthias Stallmann <feelgood.interface@gmail.com>
This commit is contained in:
Michael Kret
2023-06-16 11:44:37 +03:00
committed by GitHub
parent bbe493896c
commit fddc69ee2c
4 changed files with 39 additions and 4 deletions

View File

@@ -24,6 +24,7 @@ export interface IEmail {
to?: string;
cc?: string;
bcc?: string;
replyTo?: string;
inReplyTo?: string;
reference?: string;
subject: string;
@@ -222,6 +223,7 @@ export async function encodeEmail(email: IEmail) {
to: email.to,
cc: email.cc,
bcc: email.bcc,
replyTo: email.replyTo,
inReplyTo: email.inReplyTo,
references: email.reference,
subject: email.subject,
@@ -509,7 +511,7 @@ export function unescapeSnippets(items: INodeExecutionData[]) {
return result;
}
export async function replayToEmail(
export async function replyToEmail(
this: IExecuteFunctions,
items: INodeExecutionData[],
gmailId: string,