In the Import and Export window that opens, select Export to a file and click Next >. In the menu that appears, select Open & Export, then Import/Export. In this blog post, Miguel Llopis (a Program Manager in the Power Query team) will walk us through the capabilities exposed by this new feature and show how you can easily do analytics on top of your Exchange account.
Enter your email address in the field provided and then click “Continue.” To get started, log in to your Gmail account where want to migrate all your old emails to, click the settings cog, and then click “Settings.” Click the “Accounts and Import” tab and then click “Import Mail and Contacts.” A new window will open.