My system for helping keep my brain focused during the workday is a system of lists in a note-taking program like Evernote or Simplenote. Every time I encounter an e-mail, talk to a coworker about something, or get assigned a pull request to review I turn that into a checkbox