MCPcopy Create free account
hub / github.com/QLHazyCoder/FlowPilot / getCurrentMailIds

Function getCurrentMailIds

content/gmail-mail.js:432–439  ·  view source on GitHub ↗
(rows = [])

Source from the content-addressed store, hash-verified

430}
431
432function getCurrentMailIds(rows = []) {
433 const ids = new Set();
434 const sourceRows = rows.length ? rows : collectThreadRows();
435 sourceRows.forEach((row, index) => {
436 ids.add(getRowFingerprint(row, index));
437 });
438 return ids;
439}
440
441function rowMatchesFilters(preview, senderFilters, subjectFilters) {
442 const senderText = normalizeText(preview.sender).toLowerCase();

Callers 1

handlePollEmailFunction · 0.70

Calls 2

collectThreadRowsFunction · 0.85
getRowFingerprintFunction · 0.85

Tested by

no test coverage detected