You can log out of all devices by changing your password in all your mail accounts.
But the messages will stay on the device.
I second Paris Geek's suggestion -- if you won't have control of the device, it would be better to uninstall all apps with personal data, maybe even do a system data reset -- then restore everything when you get it back.