@xuda.io/account_module 1.2.1891 → 1.2.1893
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 +2 -0
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -2751,6 +2751,7 @@ export const unpin_contact = async function (req) {
|
|
|
2751
2751
|
};
|
|
2752
2752
|
|
|
2753
2753
|
export const not_spam_contact = async function (req, job_id, headers) {
|
|
2754
|
+
const email_module = await import(`${module_path}/email_module/index.mjs`);
|
|
2754
2755
|
const { contact_id, uid } = req;
|
|
2755
2756
|
const account_profile_info = await get_active_account_profile_info(uid);
|
|
2756
2757
|
try {
|
|
@@ -2775,6 +2776,7 @@ export const not_spam_contact = async function (req, job_id, headers) {
|
|
|
2775
2776
|
// save attachments
|
|
2776
2777
|
// summarized_body
|
|
2777
2778
|
req.uid = email.uid;
|
|
2779
|
+
req.email_id = email._id;
|
|
2778
2780
|
await email_module.process_pending_email(req, job_id, headers);
|
|
2779
2781
|
|
|
2780
2782
|
// await process_email(email.email_account_id, profile, uid, email._id, job_id, headers, null, true);
|