As well as many of the other features talked about during macOS Mojave's release like dark mode and the addition of new apps like Home, another key feature of macOS Mojave seems to be it's heightened focus on both privacy and security.
As quoted under the "Camera and Microphone Now Require Your Permission" section of this article:
Apple also announced that other categories of data, such as your Messages history and Mail database, will be protected in a similar manner to macOS Mojave's new camera and microphone permissions.
I understand that after the update, when an app requests to use your camera or microphone, you will receive an alert like the one below:
However, I am more intrigued by the following:
...other categories of data, such as your Messages history and Mail database, will be protected in a similar manner...
I have been unable to find much information about this online and I do not currently have the pre-release version of macOS Mojave installed and am therefore unable to test this new feature but I am curious to know what exactly this feature will mean.
Has Apple publicly documented how this will work?