Toggle Outlook syncing based on Android system's "Automatically sync data" setting
Gmail and other email clients don't sync data when the Android system's "Automatically sync data" setting is turned off. Outlook should behave the same way. To be specific, the setting I am referring to can be found under the "Users & accounts" section of the system settings on my Google Pixel with Android 8.1.0.
My use case is that I have Tasker automatically shut auto-sync off when I'm in the car to block any email notifications, but Outlook is stubborn and still gives me email notifications even when I have auto-sync turned off.
Cool Mster commented
It simply makes sense from a battery conservation point of view.
Jeff M commented
This would also be useful when I'm on public wi-fi and don't want to send personal information over the network.