This is also why I automatically encrypt all of my incoming email with my public pgp key on the mail server. So any mail sat on my phone/laptop/server is encrypted with my password protected private pgp key (https://grepular.com/Automatically_Encrypting_all_Incoming_E...)
I'm in the UK, so unfortunately they can demand that I give up my encryption keys and passwords and charge me if I choose to refuse, but at least it will slow them down enough so I can get a lawyer involved. And at least I have the choice of refusing.
do they have the right to scan your brain if you forgot the password or produce the wrong one under the stress of the arrest (my hands shake, heart races and i have hard time finding insurance card lying in plain view in glove compartment even when i'm having a traffic stop, less hard to imagine how i'd feel when/if i'd be "arrested for questioning")?
For example a former Novell executive always emptied his email inbox daily and deleted email after handling said email..he still works for Google
Nothing says that when they get hold of the device that you have to give access to data on that device..however that enters contempt of court grounds if they do not believe the excuse you give for not remembering a password.