Try this neat trick: disable push notifications for email, Slack, HipChat and any other communications except emergency channels such as PagerDuty. This will do wonders for your productivity. I’ve faced some blowback from people who expected me to respond immediately in real time, but I’ve assuaged their concerns by explaining my focus model and the need to eliminate distractions. In my experience, my correspondents actually enjoy receiving a thoughtful reply composed in my own time rather than a snap reaction fired off just to get the sender off my lawn.