Accessing someone's email account without their permission is generally considered illegal and a violation of privacy laws. But it's legal for you to spy on your child's Gmail account without their permission. Moreover, if you want to keep track of your employees emails while working then you can also do that.