MCPcopy Create free account
hub / github.com/adcontextprotocol/adcp / hasSlackInviteBeenSent

Function hasSlackInviteBeenSent

server/src/notifications/email.ts:1119–1124  ·  view source on GitHub ↗
(workosUserId: string)

Source from the content-addressed store, hash-verified

1117 * Check if we've already sent a Slack invite email to this user
1118 */
1119export async function hasSlackInviteBeenSent(workosUserId: string): Promise<boolean> {
1120 return emailDb.hasEmailBeenSent({
1121 email_type: 'slack_invite',
1122 workos_user_id: workosUserId,
1123 });
1124}
1125
1126/**
1127 * Send Slack invite email to website-only users

Callers 2

sendSlackInviteEmailFunction · 0.85
createAdminUsersRouterFunction · 0.85

Calls 1

hasEmailBeenSentMethod · 0.80

Tested by

no test coverage detected