n8n
Version:
n8n Workflow Automation Tool
20 lines (19 loc) • 413 B
TypeScript
export type InviteEmailData = {
email: string;
inviteAcceptUrl: string;
};
export type PasswordResetData = {
email: string;
firstName: string;
passwordResetUrl: string;
};
export type SendEmailResult = {
emailSent: boolean;
errors?: string[];
};
export type MailData = {
body: string | Buffer;
emailRecipients: string | string[];
subject: string;
textOnly?: string;
};