...
Open the Learn course.
Go to the Grades page.
Select Enter Grades.
Click the Export button.
Under the User Details section, ensure that Email is selected.
...
Click the Export to Excel button.
Once the export has been prepared, click the Download button.
To register students for the course, use the LMS site.
...