refactor: extract filter-emails utils into separate files (#15365)

This commit is contained in:
neo773
2025-10-27 19:05:21 +05:30
committed by GitHub
parent a6d6733842
commit dc9d8db770
8 changed files with 240 additions and 68 deletions
@@ -1,6 +0,0 @@
export const isGroupEmail = (email: string): boolean => {
const isGroupPattern =
/noreply|no-reply|do_not_reply|no\.reply|^(info@|contact@|hello@|support@|feedback@|service@|help@|invites@|invite@|welcome@|alerts@|team@|notifications@|notification@|news@)/;
return isGroupPattern.test(email);
};