How to send email from gitlab ci.yml file

My requirement is to send email to the pipeline initiator via gitlab ci.yml file
Could you please help me over here with the steps