Google has released version 3.0 of the Gmail for iOS app. This version of the app includes full support for iOS 7 background app refresh. This means that Gmail can download your e-mail in the background regardless of whether it is open or not. Now your inbox will be up to date whenever you launch the app.
[Source: Gmail Blog]