This feature is in default on email app for mobile. it is also called “Push Notifications .”
It have to introduce to desktop too. Thunderbird for desktop send notifications while it runs only.
Thanks for submitting an idea to the Mozilla Connect community! Your idea is now open to votes (aka kudos) and comments.