@xuda.io/account_module 1.2.923 → 1.2.925
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 +4 -0
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -1008,6 +1008,10 @@ export const read_emails = async function (req, job_id, headers) {
|
|
|
1008
1008
|
mailbox_path,
|
|
1009
1009
|
mailbox_name,
|
|
1010
1010
|
});
|
|
1011
|
+
|
|
1012
|
+
let email_address = is_sent ? recipient[message.envelope.to[0].address] : senders[message.envelope.sender[0].address];
|
|
1013
|
+
let email_name = is_sent ? message.envelope.to[0].name : message.envelope.sender[0].name;
|
|
1014
|
+
|
|
1011
1015
|
if (is_sent) {
|
|
1012
1016
|
recipient[message.envelope.to[0].address] = message.envelope.to[0].name;
|
|
1013
1017
|
} else {
|