I am trying to use the following function to create pdf of the data of my gallery from my screen:
Office365Outlook.SendEmailV2(user().Email,"My First expo pdf from powerapp","power app report",{Attachments:Table({Name:"SearchRepo1.pdf",ContentBytes:PDF(Gallery4)})})
Please check and advise the correction required.

Note : I have properly followed the connector process and connected the outlook account.