I did see that the Member class has the field Email but based on the current documentation the email address of a member isn't returned: https://docs.gitlab.com/ee/api/members.html
Therefore member.getEmail() always returns null (as far as I can see).
I guess the email was removed from the GitLab API sometime (I couldn't find anything on the GitLab issue page).