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

Function unsubscribeFromAll

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

Source from the content-addressed store, hash-verified

179 * Unsubscribe user from all emails
180 */
181export async function unsubscribeFromAll(email: string): Promise<boolean> {
182 return updateEmailPreferences(email, { unsubscribeAll: true })
183}
184
185/**
186 * Resubscribe user (remove all unsubscribe flags)

Callers 2

route.tsFile · 0.90

Calls 1

updateEmailPreferencesFunction · 0.85

Tested by

no test coverage detected