Search your archives and compose new messages without getting distracted. See your inbox only when you deliberately choose to.
Decide how many times you want to check your inbox and how much total time you want to spend on it. Then, get visual feedback on how you're doing versus your intention.
Define an inbox lockout schedule so you can focus on deep work and then batch process your mail at optimal moments.