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

Function verifyHotmailAccount

background.js:1766–1778  ·  view source on GitHub ↗
(accountId)

Source from the content-addressed store, hash-verified

1764}
1765
1766async function verifyHotmailAccount(accountId) {
1767 const state = await getState();
1768 const account = findHotmailAccount(state.hotmailAccounts, accountId);
1769 if (!account) {
1770 throw new Error('未找到需要校验的 Hotmail 账号。');
1771 }
1772
1773 const result = await fetchHotmailMailboxMessages(account, ['INBOX']);
1774 return {
1775 account: result.account,
1776 messageCount: result.mailboxResults[0]?.count || 0,
1777 };
1778}
1779
1780async function testHotmailAccountMailAccess(accountId) {
1781 const state = await getState();

Callers 1

handleMessageFunction · 0.85

Calls 3

getStateFunction · 0.85
findHotmailAccountFunction · 0.85

Tested by

no test coverage detected