Why do my email accounts keep getting disconnected with the iOS Email App?

Successfully added my Gmail and Yahoo accounts. After shutting down my WiFi or switching off my 4g data connection, of course the accounts fail to retrieve new data, fail to refresh. However when I turn on the WiFi or data connection once more, the app is unable to refresh with new data even though it is already connected AGAIN! It is quite bothersome.

Have had to delete the accounts and manually add them back to get new data.
#****Apple
#BetterFixThis
Well, I often put my device (iPhone 6 Plus) in Airplane Mode, and when I disable Airplane mode, The apps that connects to the Internet are able to do so without any problems, and that includes the Mail app. Having said that, you're the only person I recall reading about that has this problem so there's no need for Apple to #BetterFixThis, in my opinion...😉.... Anyway, if you updated your device OTA, or have a jailbroken device, you might consider restoring and setting it up as new and/or check your installed tweaks or get rid of the JB.

Original thread: https://forums.imore.com/threads/why-do-my-email-accounts-keep-getting-disconnected-with-the-ios-email-app.315227/