email preferences
global email feature flags + admin notification routing. changes apply lazily — clients pull on next contact/message creation. recipient lists drive the database webhook into POST /api/admin-email.
contact-add invite emails
When a user creates a new contact whose email address isn't yet a loop user, loop sends that person an email letting them know they were added (with a download link). Leave this on to send those invites; toggle off to suppress them entirely — the contact still gets stored locally and synced to the cloud, the recipient just never hears about it. Useful when running an internal pilot or stress-testing card-scanning without spamming real strangers.
notify on new user registration
When the toggle is on and at least one
recipient is configured below, a Supabase database webhook
fires on every profiles insert and emails the
listed addresses with the new user's details. Toggling off
preserves the recipient list — flip back on later without
re-typing anyone.
notify on new message sent
Same shape as above, but fires on every messages
insert. The body of the message is included in the email
— keep recipients limited to admins. Use sparingly; under
load this can be loud.