Apparently they profile tourists and then force them to open their email on their own PC (which means basically you’re giving them your email login through a keylogger) and they look into it.
If you disagree you’re hiding something and not allowed into the country.
Besides using profiling, which is innefective, it’s a huge invasion of privacy. Not even the USA goes this far.

Israel steps up email border checks | The Australian.