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

Function getTokenMails

background.js:2111–2119  ·  view source on GitHub ↗
(token)

Source from the content-addressed store, hash-verified

2109 };
2110 },
2111 async getTokenMails(token) {
2112 const data = await request('GET', `/api/v1/openapi/email/token/${encodeURIComponent(token)}/mails`);
2113 return {
2114 email_address: String(data?.email_address || ''),
2115 project: String(data?.project || ''),
2116 warranty_until: String(data?.warranty_until || ''),
2117 mails: normalizeLuckmailTokenMails(data?.mails || []),
2118 };
2119 },
2120 async getTokenMailDetail(token, messageId) {
2121 return normalizeLuckmailTokenMail(await request(
2122 'GET',

Callers

nothing calls this directly

Calls 2

requestFunction · 0.85

Tested by

no test coverage detected