Mailspring: [Feature request] Add Gmail Categories

Created on 15 Dec 2017  路  8Comments  路  Source: Foundry376/Mailspring

I get a lot of emails. The only issue I have with Mailspring is not supporting Gmail Categories

I'm torn between Mailspring and Ploymail. Polymail doesn't have plugin support and Mailspring is hard to use due to large number of emails I get.

Please add category support. this is very important to many users and probably one of most important reasons people go back go Gmail web client.

Most helpful comment

https://developers.google.com/gmail/imap/imap-extensions#access_to_gmail_labels_x-gm-labels

The above link explains that they are simply an extension to the IMAP standard, and implemented with similar API to IMAP folders. Should be possible to add to Mailspring and I would certainly love to see it supported.

All 8 comments

Hey! Thanks for reporting this - unfortunately Gmail doesn't provide an API for it's tabs / categories (Promotions, etc.) It'd definitely be a nice feature to have - I sometimes go back to the Gmail UI to quickly clear all of my "Promotions" tab, but we'll have to wait for them to expose it via IMAP.

EDIT: I see Polymail supports them - will check this out a bit and see what they're doing ;)

@bengotow I've been trying to crack this problem for a little while now, but I just can't seem to get the understanding of the program in order to fix it myself.
I think you might find this useful for implementing the gmail tabs/categories system.
https://developers.google.com/gmail/api/guides/labels

they are just special labels I think. super useful to clean up the inbox

https://developers.google.com/gmail/imap/imap-extensions#access_to_gmail_labels_x-gm-labels

The above link explains that they are simply an extension to the IMAP standard, and implemented with similar API to IMAP folders. Should be possible to add to Mailspring and I would certainly love to see it supported.

you can set up a filter in gmail settings that attaches the label.
If the email matches category:primary you can set the filter to attach the label "primary". Then create the label in mailspring and it works perfectly.
It also works for category:updates, category:social and so on

Airmail is able to do this, so it is possible. It looks for Category = Promotions or Category = Social, for example, to recreate those folders in the Mac client. I don't know which API or field they are getting those from, but they are definitely available from Gmail via IMAP somehow.

+1 Definitely want to see this! It's really useful. Looking forward to the implementation!

Would also love to see this feature!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

applesea2 picture applesea2  路  3Comments

spartero picture spartero  路  3Comments

3v1n0 picture 3v1n0  路  3Comments

tuxmachine picture tuxmachine  路  3Comments

liam-wiltshire picture liam-wiltshire  路  3Comments