@marlinjai/email-mcp 1.4.3 → 1.4.4

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.
@@ -1037,7 +1037,7 @@ var GmailAdapter = class {
1037
1037
  criteria.query = rule.value;
1038
1038
  break;
1039
1039
  }
1040
- const action = rule.action === "delete" ? { addLabelIds: ["TRASH"] } : { addLabelIds: ["SPAM"], removeLabelIds: ["INBOX"] };
1040
+ const action = rule.action === "delete" ? { addLabelIds: ["TRASH"] } : { removeLabelIds: ["INBOX"] };
1041
1041
  const res = await gmail.users.settings.filters.create({
1042
1042
  userId: "me",
1043
1043
  requestBody: { criteria, action }