mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
feat(Microsoft Teams Node): New operation sendAndWait (#12964)
This commit is contained in:
@@ -17,7 +17,7 @@ import { NodeApiError, NodeOperationError } from 'n8n-workflow';
|
||||
import MailComposer from 'nodemailer/lib/mail-composer';
|
||||
|
||||
import type { IEmail } from '../../../utils/sendAndWait/interfaces';
|
||||
import { escapeHtml } from '../../../utils/utilities';
|
||||
import { createUtmCampaignLink, escapeHtml } from '../../../utils/utilities';
|
||||
import { getGoogleAccessToken } from '../GenericFunctions';
|
||||
|
||||
export interface IAttachments {
|
||||
@@ -433,9 +433,7 @@ export function prepareEmailBody(
|
||||
|
||||
if (appendAttribution) {
|
||||
const attributionText = 'This email was sent automatically with ';
|
||||
const link = `https://n8n.io/?utm_source=n8n-internal&utm_medium=powered_by&utm_campaign=${encodeURIComponent(
|
||||
'n8n-nodes-base.gmail',
|
||||
)}${instanceId ? '_' + instanceId : ''}`;
|
||||
const link = createUtmCampaignLink('n8n-nodes-base.gmail', instanceId);
|
||||
if (emailType === 'html') {
|
||||
message = `
|
||||
${message}
|
||||
|
||||
Reference in New Issue
Block a user