Why doesn't Apple Mail give me notifications for my Gmail account?
If Apple Mail isn't alerting you to Gmail messages, check two separate things: that Mail is allowed to notify you, and that it's actually checking for new mail. On iPhone, Gmail usually uses Fetch, and 'Automatically' only fetches while charging on Wi-Fi, so pick a set interval like every 15 minutes. Also check Focus modes, and on a Mac, check Notifications settings and which mailboxes Mail alerts you about.