Optimizations for setting notifications and auto email