Apple - How to get Gmail Categories in macOS Mail app?

Unfortunately, Gmail doesn’t expose its “Categories” to IMAP. I'm using Mail.app as my email client, and I had the same desire to have my mail categorized with Gmail’s bayesian-or-whatever classifiers, so I found a fix.

This workaround uses filters to automatically apply labels to categories. Once labeled the old fashioned way, they can then be exposed to IMAP.

  1. Go to Gmail/Settings/Filters
  2. Using a search operator enter category:[chosen category] in the “Has the words” field and click “Create filter with this search.“
  3. Check “Apply the label:” and select or create new label
  4. (optional) Check “Also apply filter to matching conversations.“
  5. Create filter
  6. Go to Gmail/Settings/Labels and show the label in IMAP
  7. (optional) Hide the label from label and message lists

This will link up your Gmail categories to your Mail.app.


Short answer: no.

Gmail works on a system of "labels", which is represented in IMAP (a protocol used by email clients to talk to email servers) with traditional folders.

The "tabs" you are referring to show up as "category:social", etc. in the search bar in Gmail when you click on them. There is no representation in Gmail's IMAP server for these categories, therefore Mail (and any other email client) is unaware of them.