On Galaxy devices, app is causing great delay of emails if the screen is locked. Email arrives 15 minutes or few hours later, even if you disable all battery optimisations and put gmail to aggresive memory mode. If you, however, turn on the screen, it will arrive instantly.