Save your emails into an archive to store them before deleting them. The archived emails may then be saved to a location of your choice using Google Takeout.