1) grab/download the entire mailbox from Gmail
2) delete the mailbox at Gmail
3) export all gdrive data, use the export function
4) delete the gdrive data
5) register with fastmail, yandex or protonmail
6) start mailpile on your raspberry pi or similar
7) use mailpile as frontend for yandex/protonmail/other-imap account.
8) nextcloud as good enough but shitty replacement for gdrive
There are. I use Sandstorm.io and Cloudron is also out there. They're modern containerized platforms you can run any number of other open source web apps on.
In Sandstorm.io's case, I use an app called Davros to store files (which is even compatible with some ownCloud sync clients, actually), and Cloudron.io has a few other options you can use to work with your files, including, actually just hosting Nextcloud or ownCloud on it.
Where these sorts of platforms really excel is in the realm of other features, which Nextcloud tacks onto the existing platform, but a larger app platform can allow you to use a variety of alternatives which are more tailor-made to other specific types of web apps.
I am surprised as you. Perhaps people who get started working on it quickly end up working on distributed file systems in general, and disappear in that hole.
1) grab/download the entire mailbox from Gmail 2) delete the mailbox at Gmail 3) export all gdrive data, use the export function 4) delete the gdrive data
5) register with fastmail, yandex or protonmail 6) start mailpile on your raspberry pi or similar 7) use mailpile as frontend for yandex/protonmail/other-imap account.
8) nextcloud as good enough but shitty replacement for gdrive
Self-hosted ftw.