I gave this some thought and decided it's actually worse with gmail. If google decides they don't like me, they can kill my email and I would lose access to pretty much everything.
But if my custom-domain email provider closes shop, I can at least take my domain with me.
You have a point though, I should just prepay for the next 10 years of my domain, and set myself a reminder to renew in 9 years :-)