Google provide a service to migrate to a zip file this can then be uploaded somewhere

Follow the link below:

Google Apps Archive

Follow the on screen instructions and select the items you would like to archive

Please note that mail archives may take a long time (hours or possibly days) to create.