@nixxie-cms/email 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +23 -0
- package/dist/declarations/src/EmailService.d.ts +29 -0
- package/dist/declarations/src/EmailService.d.ts.map +1 -0
- package/dist/declarations/src/index.d.ts +7 -0
- package/dist/declarations/src/index.d.ts.map +1 -0
- package/dist/declarations/src/types.d.ts +193 -0
- package/dist/declarations/src/types.d.ts.map +1 -0
- package/dist/nixxie-cms-email.cjs.d.ts +2 -0
- package/dist/nixxie-cms-email.cjs.js +994 -0
- package/dist/nixxie-cms-email.esm.js +983 -0
- package/package.json +41 -0
- package/src/EmailService.ts +263 -0
- package/src/index.ts +35 -0
- package/src/queue/EmailQueue.ts +134 -0
- package/src/queue/index.ts +1 -0
- package/src/templates/HandlebarsEngine.ts +152 -0
- package/src/templates/PugEngine.ts +101 -0
- package/src/templates/TemplateManager.ts +180 -0
- package/src/templates/index.ts +4 -0
- package/src/transports/ConsoleTransport.ts +50 -0
- package/src/transports/MailgunTransport.ts +58 -0
- package/src/transports/ResendTransport.ts +83 -0
- package/src/transports/SendGridTransport.ts +54 -0
- package/src/transports/SesTransport.ts +58 -0
- package/src/transports/SmtpTransport.ts +66 -0
- package/src/transports/index.ts +30 -0
- package/src/types.ts +279 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Nixxie International DMCC
|
|
4
|
+
Portions Copyright (c) 2023 Thinkmill Labs Pty Ltd and contributors
|
|
5
|
+
(this software is derived from the KeystoneJS project, https://keystonejs.com)
|
|
6
|
+
|
|
7
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
8
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
9
|
+
in the Software without restriction, including without limitation the rights
|
|
10
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
11
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
12
|
+
furnished to do so, subject to the following conditions:
|
|
13
|
+
|
|
14
|
+
The above copyright notice and this permission notice shall be included in all
|
|
15
|
+
copies or substantial portions of the Software.
|
|
16
|
+
|
|
17
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
18
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
19
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
20
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
21
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
22
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
23
|
+
SOFTWARE.
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { NixxieEmailQueueOptions, NixxieEmailRecipient, NixxieEmailSendOptions, NixxieEmailSentInfo, NixxieEmailService } from '@nixxie-cms/core';
|
|
2
|
+
import type { EmailConfig, EmailQueueStats } from "./types.js";
|
|
3
|
+
export declare class EmailService implements NixxieEmailService {
|
|
4
|
+
private transport;
|
|
5
|
+
private templateManager;
|
|
6
|
+
private emailQueue;
|
|
7
|
+
private suppressionList;
|
|
8
|
+
private config;
|
|
9
|
+
constructor(config: EmailConfig);
|
|
10
|
+
send(options: NixxieEmailSendOptions): Promise<NixxieEmailSentInfo>;
|
|
11
|
+
bulk(recipients: NixxieEmailRecipient[], options: Omit<NixxieEmailSendOptions, 'to'>): Promise<NixxieEmailSentInfo[]>;
|
|
12
|
+
/**
|
|
13
|
+
* Whether development mode is active. When a `development` config block is present, this defaults
|
|
14
|
+
* to `process.env.NODE_ENV !== 'production'` unless `development.enabled` is set explicitly.
|
|
15
|
+
* In dev mode emails are logged (and optionally written to `previewPath`) instead of being sent.
|
|
16
|
+
*/
|
|
17
|
+
private isDevMode;
|
|
18
|
+
private writePreview;
|
|
19
|
+
queue(options: NixxieEmailQueueOptions): string;
|
|
20
|
+
addToSuppressionList(address: string): void;
|
|
21
|
+
removeFromSuppressionList(address: string): void;
|
|
22
|
+
isSuppressed(address: string): boolean;
|
|
23
|
+
getSuppressionList(): string[];
|
|
24
|
+
getQueueStats(): EmailQueueStats;
|
|
25
|
+
flushQueue(): Promise<void>;
|
|
26
|
+
close(): Promise<void>;
|
|
27
|
+
private sendImmediate;
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=EmailService.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EmailService.d.ts","sourceRoot":"../../../src","sources":["EmailService.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,uBAAuB,EACvB,oBAAoB,EACpB,sBAAsB,EACtB,mBAAmB,EACnB,kBAAkB,EACnB,MAAM,kBAAkB,CAAA;AACzB,OAAO,KAAK,EACV,WAAW,EACX,eAAe,EAIhB,mBAAe;AAsBhB,qBAAa,YAAa,YAAW,kBAAkB;IACrD,OAAO,CAAC,SAAS,CAAkB;IACnC,OAAO,CAAC,eAAe,CAA6B;IACpD,OAAO,CAAC,UAAU,CAAwB;IAC1C,OAAO,CAAC,eAAe,CAAoB;IAC3C,OAAO,CAAC,MAAM,CAAa;gBAEf,MAAM,EAAE,WAAW;IA0BzB,IAAI,CAAC,OAAO,EAAE,sBAAsB,GAAG,OAAO,CAAC,mBAAmB,CAAC;IAInE,IAAI,CACR,UAAU,EAAE,oBAAoB,EAAE,EAClC,OAAO,EAAE,IAAI,CAAC,sBAAsB,EAAE,IAAI,CAAC,GAC1C,OAAO,CAAC,mBAAmB,EAAE,CAAC;IAsBjC;;;;OAIG;IACH,OAAO,CAAC,SAAS;YAMH,YAAY;IAc1B,KAAK,CAAC,OAAO,EAAE,uBAAuB,GAAG,MAAM;IAQ/C,oBAAoB,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI;IAI3C,yBAAyB,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI;IAIhD,YAAY,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO;IAItC,kBAAkB,IAAI,MAAM,EAAE;IAI9B,aAAa,IAAI,eAAe;IAO1B,UAAU,IAAI,OAAO,CAAC,IAAI,CAAC;IAM3B,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;YAKd,aAAa;CAkG5B"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { EmailConfig } from "./types.js";
|
|
2
|
+
import { EmailService } from "./EmailService.js";
|
|
3
|
+
export declare function createEmail(config: EmailConfig): EmailService;
|
|
4
|
+
export { EmailService };
|
|
5
|
+
export type { EmailAttachment, EmailConfig, EmailQueueConfig, EmailTemplatesConfig, EmailTrackingConfig, EmailTransportConfig, MailgunTransportConfig, ResendTransportConfig, SendEmailOptions, SesTransportConfig, SmtpTransportConfig, ConsoleTransportConfig, SendGridTransportConfig, QueueJob, } from "./types.js";
|
|
6
|
+
export type { NixxieEmailRecipient, NixxieEmailAttachment, NixxieEmailSendOptions, NixxieEmailQueueOptions, NixxieEmailSentInfo, NixxieEmailQueueStats, NixxieEmailService, } from '@nixxie-cms/core';
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"../../../src","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,mBAAe;AAC1C,OAAO,EAAE,YAAY,EAAE,0BAAsB;AAE7C,wBAAgB,WAAW,CAAC,MAAM,EAAE,WAAW,GAAG,YAAY,CAE7D;AAED,OAAO,EAAE,YAAY,EAAE,CAAA;AAEvB,YAAY,EACV,eAAe,EACf,WAAW,EACX,gBAAgB,EAChB,oBAAoB,EACpB,mBAAmB,EACnB,oBAAoB,EACpB,sBAAsB,EACtB,qBAAqB,EACrB,gBAAgB,EAChB,kBAAkB,EAClB,mBAAmB,EACnB,sBAAsB,EACtB,uBAAuB,EACvB,QAAQ,GACT,mBAAe;AAEhB,YAAY,EACV,oBAAoB,EACpB,qBAAqB,EACrB,sBAAsB,EACtB,uBAAuB,EACvB,mBAAmB,EACnB,qBAAqB,EACrB,kBAAkB,GACnB,MAAM,kBAAkB,CAAA"}
|
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
import type { NixxieEmailAttachment, NixxieEmailQueueOptions, NixxieEmailRecipient, NixxieEmailSendOptions, NixxieEmailSentInfo, NixxieEmailQueueStats } from '@nixxie-cms/core/types';
|
|
2
|
+
export type { NixxieEmailAttachment as EmailAttachment, NixxieEmailQueueOptions as QueueEmailOptions, NixxieEmailRecipient as EmailRecipient, NixxieEmailSendOptions as SendEmailOptions, NixxieEmailSentInfo as SentEmailInfo, NixxieEmailQueueStats as EmailQueueStats, };
|
|
3
|
+
export type SmtpTransportConfig = {
|
|
4
|
+
type: 'smtp';
|
|
5
|
+
host: string;
|
|
6
|
+
port?: number;
|
|
7
|
+
secure?: boolean;
|
|
8
|
+
auth?: {
|
|
9
|
+
user: string;
|
|
10
|
+
pass: string;
|
|
11
|
+
};
|
|
12
|
+
tls?: {
|
|
13
|
+
rejectUnauthorized?: boolean;
|
|
14
|
+
ciphers?: string;
|
|
15
|
+
};
|
|
16
|
+
connectionTimeout?: number;
|
|
17
|
+
greetingTimeout?: number;
|
|
18
|
+
socketTimeout?: number;
|
|
19
|
+
pool?: boolean;
|
|
20
|
+
maxConnections?: number;
|
|
21
|
+
maxMessages?: number;
|
|
22
|
+
};
|
|
23
|
+
export type SendGridTransportConfig = {
|
|
24
|
+
type: 'sendgrid';
|
|
25
|
+
apiKey: string;
|
|
26
|
+
};
|
|
27
|
+
export type MailgunTransportConfig = {
|
|
28
|
+
type: 'mailgun';
|
|
29
|
+
apiKey: string;
|
|
30
|
+
domain: string;
|
|
31
|
+
/** 'us' (default) or 'eu' */
|
|
32
|
+
region?: 'us' | 'eu';
|
|
33
|
+
};
|
|
34
|
+
export type SesTransportConfig = {
|
|
35
|
+
type: 'ses';
|
|
36
|
+
region: string;
|
|
37
|
+
credentials?: {
|
|
38
|
+
accessKeyId: string;
|
|
39
|
+
secretAccessKey: string;
|
|
40
|
+
sessionToken?: string;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
export type ResendTransportConfig = {
|
|
44
|
+
type: 'resend';
|
|
45
|
+
apiKey: string;
|
|
46
|
+
};
|
|
47
|
+
/** Development transport — logs emails to the console instead of sending */
|
|
48
|
+
export type ConsoleTransportConfig = {
|
|
49
|
+
type: 'console';
|
|
50
|
+
};
|
|
51
|
+
export type EmailTransportConfig = SmtpTransportConfig | SendGridTransportConfig | MailgunTransportConfig | SesTransportConfig | ResendTransportConfig | ConsoleTransportConfig;
|
|
52
|
+
export type EmailTemplateEngine = 'handlebars' | 'pug' | 'auto';
|
|
53
|
+
export type EmailTemplatesConfig = {
|
|
54
|
+
/** Absolute path to the templates directory */
|
|
55
|
+
dir: string;
|
|
56
|
+
/**
|
|
57
|
+
* Default template engine. Use `'auto'` to detect the engine per-template from the file
|
|
58
|
+
* extension (.hbs/.handlebars vs .pug/.jade).
|
|
59
|
+
* @default 'handlebars'
|
|
60
|
+
*/
|
|
61
|
+
engine?: EmailTemplateEngine;
|
|
62
|
+
/**
|
|
63
|
+
* Enable layout support.
|
|
64
|
+
* Place a `layouts/base.hbs` (or `.pug`) file and use `{{{body}}}` inside it.
|
|
65
|
+
* @default true
|
|
66
|
+
*/
|
|
67
|
+
layouts?: boolean;
|
|
68
|
+
/**
|
|
69
|
+
* Auto-load Handlebars partials from `partials/` subdirectory.
|
|
70
|
+
* @default true
|
|
71
|
+
*/
|
|
72
|
+
partials?: boolean;
|
|
73
|
+
/**
|
|
74
|
+
* Options passed directly to the underlying template engine.
|
|
75
|
+
* For Handlebars: `{ noEscape?: boolean, helpers?: Record<string, Function> }`
|
|
76
|
+
* For Pug: `{ pretty?: boolean, filters?: object }`
|
|
77
|
+
*/
|
|
78
|
+
engineOptions?: Record<string, unknown>;
|
|
79
|
+
/**
|
|
80
|
+
* Reload templates from disk on every render (useful in development).
|
|
81
|
+
* @default false
|
|
82
|
+
*/
|
|
83
|
+
cache?: boolean;
|
|
84
|
+
};
|
|
85
|
+
export type EmailQueueConfig = {
|
|
86
|
+
/** Enabled unless explicitly set to false. @default true */
|
|
87
|
+
enabled?: boolean;
|
|
88
|
+
/** Number of emails processed in parallel @default 5 */
|
|
89
|
+
concurrency?: number;
|
|
90
|
+
/** How many times to retry a failed send @default 3 */
|
|
91
|
+
retries?: number;
|
|
92
|
+
/**
|
|
93
|
+
* Base delay in ms between retries — doubled on each subsequent attempt.
|
|
94
|
+
* @default 5000
|
|
95
|
+
*/
|
|
96
|
+
retryDelay?: number;
|
|
97
|
+
/** Discard jobs older than this (ms). 0 = never discard. @default 86400000 (24h) */
|
|
98
|
+
maxAge?: number;
|
|
99
|
+
};
|
|
100
|
+
export type EmailTrackingConfig = {
|
|
101
|
+
/** Track email opens via a 1×1 pixel. @default false */
|
|
102
|
+
opens?: boolean;
|
|
103
|
+
/** Rewrite links to track clicks. @default false */
|
|
104
|
+
clicks?: boolean;
|
|
105
|
+
/**
|
|
106
|
+
* Base URL prepended to all tracking endpoints.
|
|
107
|
+
* Required when opens or clicks tracking is enabled.
|
|
108
|
+
*/
|
|
109
|
+
baseUrl: string;
|
|
110
|
+
/** Path prefix for tracking routes. @default '/email-tracking' */
|
|
111
|
+
path?: string;
|
|
112
|
+
};
|
|
113
|
+
export type EmailDevelopmentConfig = {
|
|
114
|
+
/**
|
|
115
|
+
* When true, emails are not sent — they are logged and optionally previewed.
|
|
116
|
+
* @default process.env.NODE_ENV !== 'production'
|
|
117
|
+
*/
|
|
118
|
+
enabled?: boolean;
|
|
119
|
+
/**
|
|
120
|
+
* Write rendered HTML to this directory as .html files for browser preview.
|
|
121
|
+
* Filenames are `{template}-{timestamp}.html`.
|
|
122
|
+
*/
|
|
123
|
+
previewPath?: string;
|
|
124
|
+
/**
|
|
125
|
+
* Override the "to" address for all emails in development mode.
|
|
126
|
+
* Useful for catching all outgoing mail in one inbox.
|
|
127
|
+
*/
|
|
128
|
+
toOverride?: string | string[];
|
|
129
|
+
};
|
|
130
|
+
export type EmailSentCallback = (info: NixxieEmailSentInfo, options: NixxieEmailSendOptions) => void | Promise<void>;
|
|
131
|
+
export type EmailFailedCallback = (error: Error, options: NixxieEmailSendOptions) => void | Promise<void>;
|
|
132
|
+
export type EmailConfig = {
|
|
133
|
+
/** Transport configuration — defines how emails are physically sent */
|
|
134
|
+
transport: EmailTransportConfig;
|
|
135
|
+
/**
|
|
136
|
+
* Default "from" address used when `SendEmailOptions.from` is not set.
|
|
137
|
+
* Can be a plain address string or an object with name + address.
|
|
138
|
+
*/
|
|
139
|
+
from: NixxieEmailRecipient;
|
|
140
|
+
/** Default reply-to address */
|
|
141
|
+
replyTo?: NixxieEmailRecipient;
|
|
142
|
+
/** Template engine configuration */
|
|
143
|
+
templates?: EmailTemplatesConfig;
|
|
144
|
+
/** Outbound queue configuration */
|
|
145
|
+
queue?: EmailQueueConfig;
|
|
146
|
+
/** Email open/click tracking */
|
|
147
|
+
tracking?: EmailTrackingConfig;
|
|
148
|
+
/** Development-mode settings (preview, override recipients, etc.) */
|
|
149
|
+
development?: EmailDevelopmentConfig;
|
|
150
|
+
/** Addresses that should never receive emails */
|
|
151
|
+
suppressionList?: string[];
|
|
152
|
+
/** Default headers appended to every message */
|
|
153
|
+
headers?: Record<string, string>;
|
|
154
|
+
/** Called after every successfully sent email */
|
|
155
|
+
onSent?: EmailSentCallback;
|
|
156
|
+
/** Called when an email fails to send */
|
|
157
|
+
onFailed?: EmailFailedCallback;
|
|
158
|
+
};
|
|
159
|
+
export type TransportMessage = {
|
|
160
|
+
from: string;
|
|
161
|
+
to: string[];
|
|
162
|
+
cc?: string[];
|
|
163
|
+
bcc?: string[];
|
|
164
|
+
replyTo?: string[];
|
|
165
|
+
subject: string;
|
|
166
|
+
html?: string;
|
|
167
|
+
text?: string;
|
|
168
|
+
attachments?: NixxieEmailAttachment[];
|
|
169
|
+
headers?: Record<string, string>;
|
|
170
|
+
};
|
|
171
|
+
export type TransportResult = {
|
|
172
|
+
messageId: string;
|
|
173
|
+
accepted: string[];
|
|
174
|
+
rejected: string[];
|
|
175
|
+
response?: string;
|
|
176
|
+
};
|
|
177
|
+
export interface EmailTransporter {
|
|
178
|
+
send(message: TransportMessage): Promise<TransportResult>;
|
|
179
|
+
verify(): Promise<boolean>;
|
|
180
|
+
close(): Promise<void>;
|
|
181
|
+
}
|
|
182
|
+
export type QueueJobStatus = 'pending' | 'processing' | 'completed' | 'failed';
|
|
183
|
+
export type QueueJob = {
|
|
184
|
+
id: string;
|
|
185
|
+
options: NixxieEmailQueueOptions;
|
|
186
|
+
status: QueueJobStatus;
|
|
187
|
+
attempts: number;
|
|
188
|
+
createdAt: Date;
|
|
189
|
+
sendAt?: Date;
|
|
190
|
+
priority: 'high' | 'normal' | 'low';
|
|
191
|
+
lastError?: string;
|
|
192
|
+
};
|
|
193
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"../../../src","sources":["types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,qBAAqB,EACrB,uBAAuB,EACvB,oBAAoB,EACpB,sBAAsB,EACtB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,wBAAwB,CAAA;AAG/B,YAAY,EACV,qBAAqB,IAAI,eAAe,EACxC,uBAAuB,IAAI,iBAAiB,EAC5C,oBAAoB,IAAI,cAAc,EACtC,sBAAsB,IAAI,gBAAgB,EAC1C,mBAAmB,IAAI,aAAa,EACpC,qBAAqB,IAAI,eAAe,GACzC,CAAA;AAMD,MAAM,MAAM,mBAAmB,GAAG;IAChC,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI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