What bothers me is that Gmail keeps me signed in until I sign out. I would like it to automatically sign me out after some time. YouTube and other Google accounts can stay signed in, but with Gmail service, in particular, I don't feel safe to stay signed in.

I don't see any way to set this in [my security settings of Google Account](https://myaccount.google.com/security?utm_source=OGB&utm_medium=act#).

Perhaps it could be done by [setting the expiry time of Gmail cookies](https://productforums.google.com/forum/#!topic/gmail/yUR6LYe0XCQ)? Not sure how to do it though.

[Google seems to provide setup of session length actually](https://support.google.com/a/answer/7576830?hl=en), but this probably does not apply to Gmail / normal Google Account (?)