Differentiate Folders and Labels by Unique Identifier Hash (UUID/GUID)
Hi
Folders and Labels could be preferrably identified by a GUID / UUID hash, stored in an appropriate if necessary database, and be usable across Proton Mail and other Products/Services, if Proton wishes to expand some kind of Drive/Pass/Calendar/ features for Mail in the future.
The name of a Folder and Label would consequentially become just a sub-property type of parameter, a visual description, a display name, and editing it (renaming) would therefore not affect any organizational associations with filters, sorting, and references in other Proton products, since all of that would rely on a stable (permanent? unchangable?) GUID/UUID and not a plain name string anymore.
There should also be a "permanently deleted ID's lookup database" so that the random generator for new Folders and Labels avoids collisions and weird behavior with potential remnants, if the same GUID/UUID would be re-created later on.
Though in the middle there could be a Trash function to restore those exact Folders/Labels, if Proton developers foresee several usecases, scenarios, practical application and whether
There could also be an overview mechanism that would gather all references to that GUID/UUID and display them, analyzing all filters, etc and the user could see what's broken and misconfigured. There should already be such a thing for Filters as a separate feature anyway.
A hash lenght of 128-bit would probably be enough, maybe that's still overkill though.
Thanks
-
Buzzeger5 commented
I coincidentially inspected a file called "labels.json" created by the Proton Mail Export Console App for Windows.
Seems like folders are indeed identified with a long ID number/hash under the hood, but it's not being used in practice, well I think so ...
Actually I forgot to mention one big detail ... the last time I tried renaming folders and filters would break was a year or so ago, I didn't do another check recently, and at the time, Proton Support responded that there's no such system I was proposing so that's why I made this UserVoice feature request much much later, ... things might have changed.
Preview:
"Path": "FOLDER-PLACEHOLDER-NAME",
"ID": "Rk8Pkpjx9iVHfKlsaA8GJHif-o-5fs3QE8eE8ffXz9UJ-G4JEGW3m2URQ075PthdWn4Nt1AuXlx8bRK8yCsi0f==",
"ParentID": "",
"Name": "FOLDER-PLACEHOLDER-NAME",
"Color": "#EC3E7C",
"Type": 3By the way, I modified that ID to something random for the preview here, but length is the same.