Instead of megacorp, I recommend Mailfence (Belgium) or Mailbox (Germany). There are many other providers which are trustworthy and work well (protonmail is also not that bad but receive a very bad press at every bug).
The only durable solution for email is:
1. Have your own domain
2. Have a copy of all your mailboxes locally (easily done with IMAP).
With that setup, migrating email is only a matter of opening a new account and changing the DNS record.
I moved from Protonmail to Migadu and am happy with them. They support standard protocols and otherwise get out of the way. They also seem to be paying the Sourcehut guys to make an open source webmail client for them, which is cool but I will probably never use.
For what it is worth I have never had an IMAP export/import go cleanly. Hey offers you an MBOX/vcard export which is quite nice. I just do not use their service because the UI is hideous.
The only durable solution for email is:
1. Have your own domain 2. Have a copy of all your mailboxes locally (easily done with IMAP).
With that setup, migrating email is only a matter of opening a new account and changing the DNS record.