nextcloud / mail

💌 Mail app for Nextcloud
https://apps.nextcloud.com/apps/mail
GNU Affero General Public License v3.0
831 stars 257 forks source link

Link Mails/Folders with a Project #2093

Open jakobroehrl opened 4 years ago

jakobroehrl commented 4 years ago

Feature Request

Projects are a recent addition to Nextcloud 16 Projects currently support linking:

It would awesome to add Mails and/or Folders as well!

Summary

Possibility to add a project to Mails and/or Folders

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/81746153-link-mails-folders-with-a-project?utm_campaign=plugin&utm_content=tracker%2F44154351&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F44154351&utm_medium=issues&utm_source=github).
ChristophWurst commented 4 years ago

Possible, but only in our own mailbox/message cache in the database. The problem about that is that we sometimes have to clear it (UIDVALIDITY change for example), so this is tricky to keep persistent.

ChristophWurst commented 3 years ago

Now that we have persistent tags we can re-evaluate this feature. There could be a special tag convention like $nextcloud-project-42 that links to a certain project. We'd have to check how globally unique project identifiers can be, so that the same imap account on two nextcloud instances also shows something meaningful for example.

dumblob commented 3 years ago

Or maybe declare a given prefix (e.g. nc) of any tag as reserved for Nextcloud. This way Nextcloud can create arbitrarily nested namespace hierarchies of tags (e.g. nc1:mail:mytag), do changes to the scheme in the future (e.g. nc2:msg:mytag because email will be deprecated in favor of whole-universe-scale communication platform based on chips implanted in each of us :smile:) and at the same time guarantee uniqueness of tags beginning with nc).