1. Buy a domain, if normal people do it for squarespace sites they can do it here.
2. Pick any provider that lets you use a custom domain.
3. Forward gmail to your domain.
4. Congrats, now you have email that isn't tied to any specific company and can be moved at will.
When google decided to not honor my password anymore, I still had a browser that was logged into gmail. I was able to forward my incoming gmail to my new email address. Every once in a while I get a forwarded email (usually from Google telling me they updated their TOS). When I do, I investigate whether it is worth updating my address at the sender's website.