• 1 Post
  • 732 Comments
Joined 2 years ago
cake
Cake day: July 7th, 2023

help-circle












  • Labels/Tags are a product feature, not part of email standards. Meaning: it’s not a thing when looking at the raw mail server data.

    Each product handles this in their own way, and the tool being used to export your mail from one host/product to another would be what is handling that, if at all. Gmail probably just uses folders because that is part of the structure a mail server would have.

    I believe Proton’s import tools handles this correctly from Gmail using both labels as folders and preserving tags, but I believe Thunderbird just puts them in folders as is standard.

    You can double check by looking at the raw data exported from any mail service. You could probably easily write a quick script to handle getting tag info and applying it yourself, though it could be quite slow.



  • It might be better to first learn about existing package managers: build some packages for rpm, apt, pac…etc.

    The fundamentals would be easier to understand from there to figure out what you actually want to write and why.

    At their core, packages are simply just bundles of flat files, and stages of scripts that get executed. That’s it. Like a zip file with scripts.

    Package Managers on the other hand are just clients that deal with the metadata and contents of packages and decide what to do with them. They go way deeper.