MCPcopy Index your code
hub / github.com/simstudioai/sim / resubscribe

Function resubscribe

apps/sim/lib/messaging/email/unsubscribe.ts:188–195  ·  view source on GitHub ↗
(email: string)

Source from the content-addressed store, hash-verified

186 * Resubscribe user (remove all unsubscribe flags)
187 */
188export async function resubscribe(email: string): Promise<boolean> {
189 return updateEmailPreferences(email, {
190 unsubscribeAll: false,
191 unsubscribeMarketing: false,
192 unsubscribeUpdates: false,
193 unsubscribeNotifications: false,
194 })
195}

Callers 1

Calls 1

updateEmailPreferencesFunction · 0.85

Tested by

no test coverage detected