Question: do you get notified when someone logs into your gmail?
Answer: In fact, Gmail will, by default, notify you of any unusual activity. You may get an alert if you log on with a new device or from a different country. These alerts can be annoying but they increase your security. Don't turn them off.