Version: (using KDE 4.3.3) OS: Linux Installed from: Archlinux Packages I've recently started using gmail via disconnected imap on kmail. It works mostly great, only flaw i've found is..when you set up labels in gmail, kmail doesn't support them as links instead it duplicates the messages. i think that's not optimal, as having set up a label 'work' - i now get 3 unread messages for gmail account in kmail - in inbox, All mail and work(label). I have to see them all to mark them read and more over, it takes 3times more space on hdd. What i propose would be to implement labels like links or views(in sql) so they would take up space just for one! message and clicking any of them would mark other also read(or whatever the action would be). what do you think about this? have you found a solution? thank you and have a nice day , Mark :)
There's no way to add that in KMail: it downloads whatever GMail has to offer and there's no information about the labels in the email source.
Actually, it seems that almost every message contains Message-Id header. It would be great, if KMail would be aware of it and when I mark as read mail it will mark as read all messages with the given Message Id. At least for gmail accounts.
+1 for this bug. Great if message duplication can be avoided based on header, or at least mark all the messages with same as as read when I read one.
The labels are in the IMAP X-GM-LABELS attribute, which can be used in FETCH, STORE… This may be complicated/painful to implement since that would mean a special case for GMail's IMAP but it is feasible.
Oh, and here's the reference: https://developers.google.com/google-apps/gmail/imap_extensions#access_to_gmail_labels_x-gm-labels