Do you need all of this to run whenever the app activates? Or only on app creation/email changed?