to access your GMail account.
As GMail is an IMAP based email system, all your emails should still be there when you connect to GMail from the Apple Mail app.