@xuda.io/account_module 1.2.1888 → 1.2.1890

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.
Files changed (2) hide show
  1. package/index.mjs +6 -3
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -2772,11 +2772,14 @@ export const not_spam_contact = async function (req, job_id, headers) {
2772
2772
  });
2773
2773
 
2774
2774
  for await (let email of emails.docs) {
2775
- await process_email(email.email_account_id, profile, uid, email._id, job_id, headers, null, true);
2775
+ // save attachments
2776
+ // summarized_body
2777
+
2778
+ await email_module.process_pending_email(req, job_id, headers);
2779
+
2780
+ // await process_email(email.email_account_id, profile, uid, email._id, job_id, headers, null, true);
2776
2781
  }
2777
2782
 
2778
- // save attachments
2779
- // summarized_body
2780
2783
  // update_conversation_mood_level
2781
2784
  // attachment_handler
2782
2785
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.1888",
3
+ "version": "1.2.1890",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {