[NEW] GDPR - Right to access and Data Portability #9906
This PR adds an option for users to download all their data stored in the servers, in either JSON or HTML format. This funcionality can be enabled by an admin through a new page on the administration center.
When the user clicks on one of those new buttons, the system will register the request on the new exportOperations collection. The server will then automatically export all the messages and attachments from every channel that the user has access to. When this operation is complete, the server will generate a zip file and send an email to the user with a download link.
Each button can only be used once per day. The download button will generate HTML files and the export button will generate JSON files.
Just tried that but I get internal server error +