Gmail is not particularly difficult in terms of software engineering. The moat with email servers is IP address reputation.
I could, today, install Postfix SMTP and some IMAP as well, and watch my email all go to spam directly, if delivered at all (ISP might block them).
It's easier than ever to ingest and label data.
This is happening with or without Google. The recursive improvement does not require them at all.