gauteh / lieer

Fast email-fetching and sending and two-way tag synchronization between notmuch and GMail
http://lieer.gaute.vetsj.com
Other
494 stars 60 forks source link

rename tags with users.labels.update? #243

Open digitalsignalperson opened 11 months ago

digitalsignalperson commented 11 months ago

hey I was wondering if you have experimented with this part of the api to be able to rename tags & labels https://developers.google.com/gmail/api/reference/rest/v1/users.labels/update

that might be handy if dealing with reorganizing 1000s and don't want a full resync

in the reverse direction I guess it's not possible since the history objects are adding/removing labels per message

gauteh commented 11 months ago

This is probably not handled very well by gmi at the moment. Tag renames on the remote would get things out of sync in a pretty spectacular way! We deal with label-id renames from gmail, but we only have the tag-names on notmuch side.