emailengine-app 2.61.0 → 2.61.2
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/CHANGELOG.md +16 -0
- package/data/google-crawlers.json +1 -1
- package/lib/account/account-state.js +248 -0
- package/lib/account.js +17 -178
- package/lib/api-routes/account-routes.js +1006 -0
- package/lib/api-routes/message-routes.js +1377 -0
- package/lib/consts.js +12 -2
- package/lib/email-client/base-client.js +282 -771
- package/lib/email-client/gmail/gmail-api.js +243 -0
- package/lib/email-client/gmail-client.js +145 -53
- package/lib/email-client/imap/mailbox.js +24 -698
- package/lib/email-client/imap/sync-operations.js +812 -0
- package/lib/email-client/imap-client.js +3 -1
- package/lib/email-client/message-builder.js +566 -0
- package/lib/email-client/notification-handler.js +314 -0
- package/lib/email-client/outlook/graph-api.js +326 -0
- package/lib/email-client/outlook-client.js +159 -113
- package/lib/email-client/smtp-pool-manager.js +196 -0
- package/lib/imapproxy/imap-server.js +3 -12
- package/lib/oauth/gmail.js +4 -4
- package/lib/oauth/mail-ru.js +30 -5
- package/lib/oauth/outlook.js +57 -3
- package/lib/oauth/pubsub/google.js +30 -11
- package/lib/oauth/scope-checker.js +202 -0
- package/lib/oauth2-apps.js +8 -4
- package/lib/redis-operations.js +484 -0
- package/lib/routes-ui.js +283 -2582
- package/lib/tools.js +5 -196
- package/lib/ui-routes/account-routes.js +1931 -0
- package/lib/ui-routes/admin-config-routes.js +1233 -0
- package/lib/ui-routes/admin-entities-routes.js +2367 -0
- package/lib/ui-routes/oauth-routes.js +992 -0
- package/lib/utils/network.js +237 -0
- package/package.json +12 -12
- package/sbom.json +1 -1
- package/static/js/app.js +5 -5
- package/static/licenses.html +91 -21
- package/translations/de.mo +0 -0
- package/translations/de.po +85 -82
- package/translations/en.mo +0 -0
- package/translations/en.po +63 -71
- package/translations/et.mo +0 -0
- package/translations/et.po +84 -82
- package/translations/fr.mo +0 -0
- package/translations/fr.po +85 -82
- package/translations/ja.mo +0 -0
- package/translations/ja.po +84 -82
- package/translations/messages.pot +67 -80
- package/translations/nl.mo +0 -0
- package/translations/nl.po +86 -82
- package/translations/pl.mo +0 -0
- package/translations/pl.po +84 -82
- package/views/account/security.hbs +4 -4
- package/views/accounts/account.hbs +13 -13
- package/views/accounts/register/imap-server.hbs +12 -12
- package/views/config/document-store/pre-processing/index.hbs +4 -2
- package/views/config/oauth/app.hbs +6 -7
- package/views/config/oauth/index.hbs +2 -2
- package/views/config/service.hbs +3 -4
- package/views/dashboard.hbs +5 -7
- package/views/error.hbs +22 -7
- package/views/gateways/gateway.hbs +2 -2
- package/views/partials/add_account_modal.hbs +7 -10
- package/views/partials/document_store_header.hbs +1 -1
- package/views/partials/editor_scope_info.hbs +0 -1
- package/views/partials/oauth_config_header.hbs +1 -1
- package/views/partials/side_menu.hbs +3 -3
- package/views/partials/webhook_form.hbs +2 -2
- package/views/templates/index.hbs +1 -1
- package/views/templates/template.hbs +8 -8
- package/views/tokens/index.hbs +6 -6
- package/views/tokens/new.hbs +1 -1
- package/views/webhooks/index.hbs +4 -4
- package/views/webhooks/webhook.hbs +7 -7
- package/workers/api.js +148 -2436
- package/workers/smtp.js +2 -1
- package/workers/webhooks.js +6 -0
- package/lib/imapproxy/imap-core/test/client.js +0 -46
- package/lib/imapproxy/imap-core/test/fixtures/append.eml +0 -1196
- package/lib/imapproxy/imap-core/test/fixtures/chunks.js +0 -44
- package/lib/imapproxy/imap-core/test/fixtures/fix1.eml +0 -6
- package/lib/imapproxy/imap-core/test/fixtures/fix2.eml +0 -599
- package/lib/imapproxy/imap-core/test/fixtures/fix3.eml +0 -32
- package/lib/imapproxy/imap-core/test/fixtures/fix4.eml +0 -6
- package/lib/imapproxy/imap-core/test/fixtures/mimetorture.eml +0 -599
- package/lib/imapproxy/imap-core/test/fixtures/mimetorture.js +0 -2740
- package/lib/imapproxy/imap-core/test/fixtures/mimetorture.json +0 -1411
- package/lib/imapproxy/imap-core/test/fixtures/mimetree.js +0 -85
- package/lib/imapproxy/imap-core/test/fixtures/nodemailer.eml +0 -582
- package/lib/imapproxy/imap-core/test/fixtures/ryan_finnie_mime_torture.eml +0 -599
- package/lib/imapproxy/imap-core/test/fixtures/simple.eml +0 -42
- package/lib/imapproxy/imap-core/test/fixtures/simple.json +0 -164
- package/lib/imapproxy/imap-core/test/imap-compile-stream-test.js +0 -671
- package/lib/imapproxy/imap-core/test/imap-compiler-test.js +0 -272
- package/lib/imapproxy/imap-core/test/imap-indexer-test.js +0 -236
- package/lib/imapproxy/imap-core/test/imap-parser-test.js +0 -922
- package/lib/imapproxy/imap-core/test/memory-notifier.js +0 -129
- package/lib/imapproxy/imap-core/test/prepare.sh +0 -74
- package/lib/imapproxy/imap-core/test/protocol-test.js +0 -1756
- package/lib/imapproxy/imap-core/test/search-test.js +0 -1356
- package/lib/imapproxy/imap-core/test/test-client.js +0 -152
- package/lib/imapproxy/imap-core/test/test-server.js +0 -623
- package/lib/imapproxy/imap-core/test/tools-test.js +0 -22
- package/test/api-test.js +0 -899
- package/test/autoreply-test.js +0 -327
- package/test/bounce-test.js +0 -151
- package/test/complaint-test.js +0 -256
- package/test/fixtures/autoreply/LICENSE +0 -27
- package/test/fixtures/autoreply/rfc3834-01.eml +0 -23
- package/test/fixtures/autoreply/rfc3834-02.eml +0 -24
- package/test/fixtures/autoreply/rfc3834-03.eml +0 -26
- package/test/fixtures/autoreply/rfc3834-04.eml +0 -48
- package/test/fixtures/autoreply/rfc3834-05.eml +0 -19
- package/test/fixtures/autoreply/rfc3834-06.eml +0 -59
- package/test/fixtures/bounces/163.eml +0 -2521
- package/test/fixtures/bounces/fastmail.eml +0 -242
- package/test/fixtures/bounces/gmail.eml +0 -252
- package/test/fixtures/bounces/hotmail.eml +0 -655
- package/test/fixtures/bounces/mailru.eml +0 -121
- package/test/fixtures/bounces/outlook.eml +0 -1107
- package/test/fixtures/bounces/postfix.eml +0 -101
- package/test/fixtures/bounces/rambler.eml +0 -116
- package/test/fixtures/bounces/workmail.eml +0 -142
- package/test/fixtures/bounces/yahoo.eml +0 -139
- package/test/fixtures/bounces/zoho.eml +0 -83
- package/test/fixtures/bounces/zonemta.eml +0 -100
- package/test/fixtures/complaints/LICENSE +0 -27
- package/test/fixtures/complaints/amazonses.eml +0 -72
- package/test/fixtures/complaints/dmarc.eml +0 -59
- package/test/fixtures/complaints/hotmail.eml +0 -49
- package/test/fixtures/complaints/optout.eml +0 -40
- package/test/fixtures/complaints/standard-arf.eml +0 -68
- package/test/fixtures/complaints/yahoo.eml +0 -68
- package/test/oauth2-apps-test.js +0 -301
- package/test/sendonly-test.js +0 -160
- package/test/test-config.js +0 -34
- package/test/webhooks-server.js +0 -39
|
@@ -1,164 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"childNodes": [{
|
|
3
|
-
"childNodes": [{
|
|
4
|
-
"header": [
|
|
5
|
-
"Content-Type: text/plain",
|
|
6
|
-
"Content-Transfer-Encoding: 7bit"
|
|
7
|
-
],
|
|
8
|
-
"parsedHeader": {
|
|
9
|
-
"content-transfer-encoding": "7bit",
|
|
10
|
-
"content-type": {
|
|
11
|
-
"value": "text/plain",
|
|
12
|
-
"type": "text",
|
|
13
|
-
"subtype": "plain",
|
|
14
|
-
"params": {}
|
|
15
|
-
}
|
|
16
|
-
},
|
|
17
|
-
"body": "hello",
|
|
18
|
-
"multipart": false,
|
|
19
|
-
"boundary": false,
|
|
20
|
-
"lineCount": 1,
|
|
21
|
-
"size": 5
|
|
22
|
-
}, {
|
|
23
|
-
"header": [
|
|
24
|
-
"Content-Type: text/html",
|
|
25
|
-
"Content-Transfer-Encoding: 7bit"
|
|
26
|
-
],
|
|
27
|
-
"parsedHeader": {
|
|
28
|
-
"content-transfer-encoding": "7bit",
|
|
29
|
-
"content-type": {
|
|
30
|
-
"value": "text/html",
|
|
31
|
-
"type": "text",
|
|
32
|
-
"subtype": "html",
|
|
33
|
-
"params": {}
|
|
34
|
-
}
|
|
35
|
-
},
|
|
36
|
-
"body": "<p>hello</p>",
|
|
37
|
-
"multipart": false,
|
|
38
|
-
"boundary": false,
|
|
39
|
-
"lineCount": 1,
|
|
40
|
-
"size": 12
|
|
41
|
-
}],
|
|
42
|
-
"header": [
|
|
43
|
-
"Content-Type: multipart/alternative;\r\n boundary=\"----sinikael-?=_2-14508625179060.6947296333964914\""
|
|
44
|
-
],
|
|
45
|
-
"parsedHeader": {
|
|
46
|
-
"content-type": {
|
|
47
|
-
"value": "multipart/alternative",
|
|
48
|
-
"type": "multipart",
|
|
49
|
-
"subtype": "alternative",
|
|
50
|
-
"params": {
|
|
51
|
-
"boundary": "----sinikael-?=_2-14508625179060.6947296333964914"
|
|
52
|
-
},
|
|
53
|
-
"hasParams": true
|
|
54
|
-
}
|
|
55
|
-
},
|
|
56
|
-
"body": "",
|
|
57
|
-
"multipart": "alternative",
|
|
58
|
-
"boundary": "----sinikael-?=_2-14508625179060.6947296333964914",
|
|
59
|
-
"lineCount": 1,
|
|
60
|
-
"size": 0
|
|
61
|
-
}, {
|
|
62
|
-
"header": [
|
|
63
|
-
"Content-Type: text/plain; charset=utf-8; name=\"notes\r\n =?UTF-8?Q?=F0=9F=95=B6=2Etxt?=\"",
|
|
64
|
-
"Content-Disposition: attachment;\r\n filename*0*=utf-8''notes%20%F0%9F%95%B6.txt",
|
|
65
|
-
"Content-Transfer-Encoding: quoted-printable"
|
|
66
|
-
],
|
|
67
|
-
"parsedHeader": {
|
|
68
|
-
"content-transfer-encoding": "quoted-printable",
|
|
69
|
-
"content-disposition": {
|
|
70
|
-
"value": "attachment",
|
|
71
|
-
"type": "attachment",
|
|
72
|
-
"subtype": "",
|
|
73
|
-
"params": {
|
|
74
|
-
"filename": "=?UTF-8?Q?notes=20=F0=9F=95=B6.txt?="
|
|
75
|
-
},
|
|
76
|
-
"hasParams": true
|
|
77
|
-
},
|
|
78
|
-
"content-type": {
|
|
79
|
-
"value": "text/plain",
|
|
80
|
-
"type": "text",
|
|
81
|
-
"subtype": "plain",
|
|
82
|
-
"params": {
|
|
83
|
-
"charset": "utf-8",
|
|
84
|
-
"name": "notes =?UTF-8?Q?=F0=9F=95=B6=2Etxt?="
|
|
85
|
-
},
|
|
86
|
-
"hasParams": true
|
|
87
|
-
}
|
|
88
|
-
},
|
|
89
|
-
"body": "Some notes about this e-mail =F0=9F=90=B1",
|
|
90
|
-
"multipart": false,
|
|
91
|
-
"boundary": false,
|
|
92
|
-
"lineCount": 1,
|
|
93
|
-
"size": 41
|
|
94
|
-
}, {
|
|
95
|
-
"header": [
|
|
96
|
-
"Content-Type: image/png; name=image.png",
|
|
97
|
-
"Content-Disposition: attachment; filename=image.png",
|
|
98
|
-
"Content-Transfer-Encoding: base64"
|
|
99
|
-
],
|
|
100
|
-
"parsedHeader": {
|
|
101
|
-
"content-transfer-encoding": "base64",
|
|
102
|
-
"content-disposition": {
|
|
103
|
-
"value": "attachment",
|
|
104
|
-
"type": "attachment",
|
|
105
|
-
"subtype": "",
|
|
106
|
-
"params": {
|
|
107
|
-
"filename": "image.png"
|
|
108
|
-
},
|
|
109
|
-
"hasParams": true
|
|
110
|
-
},
|
|
111
|
-
"content-type": {
|
|
112
|
-
"value": "image/png",
|
|
113
|
-
"type": "image",
|
|
114
|
-
"subtype": "png",
|
|
115
|
-
"params": {
|
|
116
|
-
"name": "image.png"
|
|
117
|
-
},
|
|
118
|
-
"hasParams": true
|
|
119
|
-
}
|
|
120
|
-
},
|
|
121
|
-
"body": "iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAABlBMVEUAAAD///+l2Z/dAAAAM0lE\r\nQVR4nGP4/5/h/1+G/58ZDrAz3D/McH8yw83NDDeNGe4Ug9C9zwz3gVLMDA/A6P9/AFGGFyjOXZtQ\r\nAAAAAElFTkSuQmCC",
|
|
122
|
-
"multipart": false,
|
|
123
|
-
"boundary": false,
|
|
124
|
-
"lineCount": 3,
|
|
125
|
-
"size": 172
|
|
126
|
-
}],
|
|
127
|
-
"header": [
|
|
128
|
-
"Content-Type: multipart/mixed;\r\n boundary=\"----sinikael-?=_1-14508625179060.6947296333964914\"",
|
|
129
|
-
"From: =?UTF-8?Q?Sender_Name_=F0=9F=91=BB?= <sender@example.com>",
|
|
130
|
-
"To: =?UTF-8?Q?Receiver_Name_=F0=9F=91=A5?= <receiver@example.com>",
|
|
131
|
-
"Subject: Nodemailer is unicode friendly =?UTF-8?Q?=E2=9C=94?=",
|
|
132
|
-
"Date: Wed, 23 Dec 2015 09:21:57 +0000",
|
|
133
|
-
"Message-Id: <1450862517911-ebf3ac1e-e421bda1-4d17b820@example.com>",
|
|
134
|
-
"MIME-Version: 1.0"
|
|
135
|
-
],
|
|
136
|
-
"parsedHeader": {
|
|
137
|
-
"mime-version": "1.0",
|
|
138
|
-
"message-id": "<1450862517911-ebf3ac1e-e421bda1-4d17b820@example.com>",
|
|
139
|
-
"date": "Wed, 23 Dec 2015 09:21:57 +0000",
|
|
140
|
-
"subject": "Nodemailer is unicode friendly =?UTF-8?Q?=E2=9C=94?=",
|
|
141
|
-
"to": [{
|
|
142
|
-
"address": "receiver@example.com",
|
|
143
|
-
"name": "=?UTF-8?Q?Receiver_Name_=F0=9F=91=A5?="
|
|
144
|
-
}],
|
|
145
|
-
"from": [{
|
|
146
|
-
"address": "sender@example.com",
|
|
147
|
-
"name": "=?UTF-8?Q?Sender_Name_=F0=9F=91=BB?="
|
|
148
|
-
}],
|
|
149
|
-
"content-type": {
|
|
150
|
-
"value": "multipart/mixed",
|
|
151
|
-
"type": "multipart",
|
|
152
|
-
"subtype": "mixed",
|
|
153
|
-
"params": {
|
|
154
|
-
"boundary": "----sinikael-?=_1-14508625179060.6947296333964914"
|
|
155
|
-
},
|
|
156
|
-
"hasParams": true
|
|
157
|
-
}
|
|
158
|
-
},
|
|
159
|
-
"body": "",
|
|
160
|
-
"multipart": "mixed",
|
|
161
|
-
"boundary": "----sinikael-?=_1-14508625179060.6947296333964914",
|
|
162
|
-
"lineCount": 1,
|
|
163
|
-
"size": 0
|
|
164
|
-
}
|