@xuda.io/account_module 1.2.928 → 1.2.930
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/index.mjs +3 -0
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -1012,6 +1012,9 @@ export const read_emails = async function (req, job_id, headers) {
|
|
|
1012
1012
|
let email_address = is_sent ? recipient[message.envelope.to[0].address] : senders[message.envelope.sender[0].address];
|
|
1013
1013
|
let email_name = is_sent ? message.envelope.to[0].name : message.envelope.sender[0].name;
|
|
1014
1014
|
const subject = message.envelope.subject;
|
|
1015
|
+
|
|
1016
|
+
recipient[email_address] = { name: email_name, is_sent, subject };
|
|
1017
|
+
|
|
1015
1018
|
if (is_sent) {
|
|
1016
1019
|
recipient[message.envelope.to[0].address] = message.envelope.to[0].name;
|
|
1017
1020
|
} else {
|