They were not separated. They were married and still living together.
Having a password on your account does not give you a reasonable expectation of privacy from your spouse. Having a piece of paper that says "Please don't read my gmail" does.
My point is that the password alone does not give you that expectation - you need an additional something.
You also clearly have a legally enforceable expectation of privacy in your personal email account, so I don't know what your point is; just because Reddit also asks for a password doesn't mean that the Gmail login screen is optional.