Bug 214648 - kmail better support for gmail labels - do not duplicate messages
Summary: kmail better support for gmail labels - do not duplicate messages
Status: RESOLVED INTENTIONAL
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-15 14:11 UTC by Mark
Modified: 2012-11-05 18:44 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark 2009-11-15 14:11:06 UTC
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 :)
Comment 1 Christophe Marin 2009-11-15 16:16:02 UTC
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.
Comment 2 Oleg Atamanenko 2010-09-19 18:40:22 UTC
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.
Comment 3 Abhishek 2012-05-27 15:13:32 UTC
+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.
Comment 4 Loïc Grobol 2012-08-31 12:55:32 UTC
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.