@marlinjai/email-mcp 1.2.4 → 1.2.6

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/dist/index.js CHANGED
@@ -8406,7 +8406,7 @@ var init_adapter3 = __esm({
8406
8406
  }
8407
8407
  const mailboxExists = this.client.mailbox?.exists ?? -1;
8408
8408
  const effectiveCount = Math.max(realMessageCount, mailboxExists);
8409
- if (effectiveCount === 0) {
8409
+ if (effectiveCount <= 0) {
8410
8410
  return [];
8411
8411
  }
8412
8412
  const criteria = this.buildSearchCriteria(query);