Hide your gmail inbox to focus and get in the flow. Unhide it whenever you're ready.
Now you can hide your gmail inbox whenever you want. This lets you get in the flow and do more deep work.
After you open gmail, click the "Hide inbox" button to hide your messages. You'll still be able to search gmail and use it as a reference, just without all your emails appearing and distracting you.
When you're ready to view your inbox again, just click "Show inbox".
This extension only works if you use the Gmail website on chrome. It doesn't work if you're using the Gmail desktop app.
View the code on github: