We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7063334 commit 172ce80Copy full SHA for 172ce80
packages/lib/delivery/src/notifications/channels/Email.ts
@@ -17,13 +17,17 @@ export type EmailNotificationServerConfig = {
17
// email notification configuration
18
export type EmailNotificationUserConfig = {
19
recipientAddress: string;
20
+};
21
+
22
+type UserEmailConfig = {
23
+ recipientAddress: string;
24
notificationType: NotificationType;
25
};
26
27
// method to send email
28
export function Email(config: EmailNotificationServerConfig) {
29
const send = async (
- mailConfig: EmailNotificationUserConfig,
30
+ mailConfig: UserEmailConfig,
31
deliveryInformation: DeliveryInformation,
32
) => {
33
try {
0 commit comments