From the course Homepage click on New Analytics button on the right side.
Click on the Student Tab and you should see a list for your enrolled students. Click on the down arrow button to the left to download a CSV file of this report.
You will be prompted to save a zip file which contains a CSV file. You can open this CSV in Excel, Google Sheets, or any text editor and view the column that contains the student email addresses.