The best answer can only give a lawyer.
To my knowledge, it mainly depends, if there is a legal base for providing Email address of one user to another user. See the Article 6 "Lawfulness of processing" in DSGVO.
A few examples.
(a) the data subject has given consent to the processing of his or her
personal data for one or more specific purposes;
One legal reason can be, that all users gave you a consent that their Email addresses will be available to all other users. This may look simple, but it is not. For instance if you maintain a web site for Anonymous Alcoholics, may be your users will not give a consent to show their emails to other users.
(b) processing is necessary for the performance of a contract to which the data subject is party or in order to take steps at the request of the data subject prior to entering into a contract;
Using your application, some user place work requests, the others provide some services. For instance, one user needs get his house painted. Hi gives a consent to disclose his Email to another users, so that are able to send him contract proposals.
Compliance with DSGVO can be not easy in some cases. Better talk to a layer.