feat: add queue for sending emails

This commit is contained in:
Ephraim Atta-Duncan
2024-04-07 20:10:33 +00:00
parent 574098f103
commit fc329464ec
10 changed files with 159 additions and 118 deletions
+2
View File
@@ -1,3 +1,4 @@
import type { SendMailOptions } from 'nodemailer';
import { createTransport } from 'nodemailer';
import { ResendTransport } from '@documenso/nodemailer-resend';
@@ -54,3 +55,4 @@ const getTransport = () => {
};
export const mailer = getTransport();
export type MailOptions = SendMailOptions;