How to get Gmail Categories in macOS Mail app

foldersgmailmail.app

I'm using the default Gmail inbox, where emails are magically filed under the proper tab: Primary, Social, Update and Forum.

In Mail on OS X Yosemite (10.10) however, all end up in the Inbox.

I can see my custom labels (I use several) under "Google" in the left panel. Under Mailboxes, I have of course the standard Inbox, Drafts, Outbox… But the Gmail tabs appear nowhere, not even as folders.

I could maybe create rules on Gmail that would match the tabs, e.g. if this is a "Social" email, then add a label "Social", but this seems clumsy.

Is there an easy/elegant way to enable it?

EDIT

You can follow the instructions from this page (too long to reproduce them here). It boils down to creating server filters for each category (=tab), in order to archive the email from your inbox and apply a label on it. Then, it will show nicely in OSX Mail. Some caveats though:

  • The search function in Mail does not work on all folders at once
  • You lose the small tab counter, telling you for instance you have 3 new emails in Social. The counter resets itself as soon as you hit the tab in Gmail. Not in OSX Mail

Best Answer

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.