Ok I fixed it. I then reset the phone again to replicate the fix to confirm the cause and resolution.
Steps:
- Go through standard GrapheneOS setup to get to home screen.
- Open GrapheneOS 'App' and install 'Google Play Store' (which will install Google Play Services automatically as a dependency).
- Sign in to Google Play Store.
- Install Gmail. (GmsCompat will notify you that you have to toggle on the 'Allow from this source' setting of the sandboxed Google Play Store app.)
- Gmail will display a dialogue to ask to show notifications, which you must obviously allow.
Steps 1-5 are standard, no-brainer setup steps, but the following steps are the fix:
- Open Gmail app, then ☰ → ⛭ → youraccount@gmail.com → Inbox Notifications → ☑ Label Notifications
- Either restart the phone or long-press the Gmail app icon → ⓘ App info → Force stop → then open the Gmail app again to restart the app.
That's it. You don't have to adjust any notification settings or data settings or battery settings for Gmail, Google Play Store, or Google Play Services.
Never had to do this on my Pixel 7 so I don't know why it's needed for my Pixel 9 Pro XL, but I'm just happy it works now. Hopes this helps someone in the future.