New in Labs: Unread message icon - Official Gmail Blog

Now when you browsing on other tabs you can always see if any new email have come  on the browser tab which say number of unread emails

but then this lab feature is only for chrome and firefox users

To turn it on, go to the Labs tab in Settings, enable this lab and save