Changing the logo on the overall page and email header
Navigate to the Admin area and go to the Appearance page.
Upload the custom logo (Header logo) in the section Navigation bar.
After saving the page, your GitLab navigation bar will contain the custom logo:
The GitLab pipeline emails will also have the custom logo: