Dismiss connection issues dialogue

Some of my email accounts require 2 factor authentication, but I don’t always want to use them. Yet, if I don’t authenticate, the pop-up saying “one or more accounts are having connection issues” is persistently there.

It would be nice to have a way to dismiss this dialogue, as it is quite distracting.

(Originally posted by omaregb on GitHub.)