As a part of the custom email sending functionality, we need an endpoint to get all the emails of the mentors and the mentees so the admin can select the required emails.
The API will have the following structure,
GET {baseUrl}/api/admin/programs/${programId}/emails
Response { emails : String[] }
@Gravewalker Is this enough or do we need some query parameters to filter the results?
Here’s the ticket for this task.