Document leaks via email: How to deter them

How the security of emails is ensured and how to ensure that an employee does not leak confidential documents by email, both personal and corporate?
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the insert-headers-and-footers
domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init
action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /mnt/customers/customers-bh-3k27aq/customers-el-3965536-32467-leaksid-wordpress-pvc-62cc424b7ac18e001d2f8f2b/wp-content/wp-includes/functions.php on line 6121
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the unlimited-elements-for-elementor
domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init
action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /mnt/customers/customers-bh-3k27aq/customers-el-3965536-32467-leaksid-wordpress-pvc-62cc424b7ac18e001d2f8f2b/wp-content/wp-includes/functions.php on line 6121
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the elementor
domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init
action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /mnt/customers/customers-bh-3k27aq/customers-el-3965536-32467-leaksid-wordpress-pvc-62cc424b7ac18e001d2f8f2b/wp-content/wp-includes/functions.php on line 6121
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wpforms-lite
domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init
action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /mnt/customers/customers-bh-3k27aq/customers-el-3965536-32467-leaksid-wordpress-pvc-62cc424b7ac18e001d2f8f2b/wp-content/wp-includes/functions.php on line 6121
How the security of emails is ensured and how to ensure that an employee does not leak confidential documents by email, both personal and corporate?