The key for me was deciding that, if I sit down to do email, I'm going to really empty my inbox, every time. No "just checking." If I read an email, I figure out what needs to be done, note it down if necessary, and move it out of the inbox. Right then.
So, if I do check my email, I make sure I have time to actually process it, and I focus on doing that.