Mail iOS shows wrong unread count with Gmail “Primary” setting (iOS 26.4.2)

I’m experiencing an issue with the unread email badge count in the Mail app on iPhone when using a Gmail account.

In Settings → Notifications → Mail → Customize Notifications, I have selected “Unread messages in Primary”. However, the badge count on the Mail app icon does not match the number of unread emails in the “Primary” category. Instead, it shows a much larger number, as if it is counting all unread emails (similar to “All Mail”).

Important details:

  • On the Mail app for Mac, using the same Gmail account, the unread badge works correctly and matches the “Primary” category.
  • In Gmail (web), the categories (Primary, Promotions, Social, etc.) are correctly organized.
  • In the iPhone Mail app, the “Primary” view itself is correct and only shows relevant emails.
  • The issue is specifically with the badge count, which does not respect the “Primary” filter.

Troubleshooting steps already attempted:

  • Removed and re-added the Gmail account on iPhone
  • Restarted the iPhone
  • Disabled and re-enabled Mail for the Gmail account
  • Adjusted Gmail labels to only expose Inbox via IMAP
  • Updated iOS to version 26.4.2

None of these steps resolved the issue.

This suggests that the Mail app on iOS is calculating the unread badge count based on the total number of unread messages provided by Gmail via IMAP, instead of applying the “Primary” category filter selected in settings.

Is anyone else experiencing this behavior?

Is this a known issue or bug in Mail on iOS when used with Gmail accounts?

iPhone 12, iOS 26

Publicado el 23/04/2026 07:21 p.m.

Responder
2 respuestas

24/04/2026 04:35 p.m. en respuesta a alecarrascop

Good evening, Alecarrascop


Lo primero de todo, Gracias por visitar la Comunidad de soporte de Apple en español.


Something similar happened to me. It marked all my unread messages as read.


In Settings → Notifications → Mail → Customize notifications, I switched "Unread messages in the primary inbox"; change it to "All unread messages."


Best regards

24/04/2026 05:06 p.m. en respuesta a crazyalf

Hola,

Creo que no me exprese bien. Mi problema es que el contador (numero rojo sobre el icono de la app Mail en iOS) me muestra el numero de los correos no leidos de la categoria Todos en vez de mostrame los correos no leidos de la categoria Principal. En personalizacion de notificaciones dentro de Mail, tengo seleccionado Mensajes sin leer en Principal. En mi Mac funciona bien esta misma configuracion.

Gracias.

Mail iOS shows wrong unread count with Gmail “Primary” setting (iOS 26.4.2)

Bienvenido a la Comunidad de soporte de Apple
Un foro donde los clientes de Apple se ayudan entre sí con sus productos. Comienza con tu cuenta de Apple.