That’s my point, GMail made no sense initially. All the other email services had free tiers with bunch of ads or you could get GMail for free. Everyone wondered how this pays off for Google, but in enough time it becomes obvious.
Google is no stranger to killing their own services. The fact they are not killing YouTube means it holds value even if it’s losing money.
Gmail made sense for Google when it was released. No one questioned it as there were already several other players in the market. The only real selling point at that time was Google offering 1 GB of storage for free with ads while other services were offering less. That other services switched to meet Google’s number rather quickly was more a sign that Google priced storage per user better at the time while other services had kept their legacy storage allowances.