Good on you for putting something together, but I think your original complaint about Google not putting something similar in GMail is way off.
Email is an inherently asynchronous medium, it's up to you how frequently you check it. Having notifications and the like in your browser, on your phone, elsewhere, they're all your choice.