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

Function parseGmailBaseEmail

background.js:1917–1925  ·  view source on GitHub ↗
(rawValue)

Source from the content-addressed store, hash-verified

1915}
1916
1917function parseGmailBaseEmail(rawValue) {
1918 const value = String(rawValue || '').trim().toLowerCase();
1919 const match = value.match(/^([^@\s+]+)@((?:gmail|googlemail)\.com)$/i);
1920 if (!match) return null;
1921 return {
1922 localPart: match[1],
1923 domain: match[2].toLowerCase(),
1924 };
1925}
1926
1927function isGeneratedAliasProvider(stateOrProvider, mail2925Mode = undefined) {
1928 const provider = typeof stateOrProvider === 'string'

Callers 1

buildGeneratedAliasEmailFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected