MCPcopy Index your code
hub / github.com/QLHazyCoder/FlowPilot / normalizeMailboxId

Function normalizeMailboxId

microsoft-email.js:60–62  ·  view source on GitHub ↗
(mailbox = 'INBOX')

Source from the content-addressed store, hash-verified

58 }
59
60 function normalizeMailboxId(mailbox = 'INBOX') {
61 return normalizeMailboxLabel(mailbox) === 'Junk' ? 'junkemail' : 'inbox';
62 }
63
64 function normalizeMailboxList(mailboxes) {
65 const list = Array.isArray(mailboxes) && mailboxes.length ? mailboxes : ['INBOX'];

Callers 3

fetchGraphMessagesFunction · 0.85
fetchOutlookMessagesFunction · 0.85

Calls 1

normalizeMailboxLabelFunction · 0.85

Tested by

no test coverage detected