In this blog, we will discuss how to send an email on PowerApps. We will see how to send an Email in PowerApps on the submit button.
Step 1
Create a Canvas App with any layout.

Step 2
Rename the default screen name and add controls as shown in the image.

Step 3
Create another success screen for showing confirmation of sent email.

Step 4
Add Gmail connector.

Step 5
Provide gmail credentials for sign-in.

Step 6
Click on Submit button then select On select property and add the below formula on it.
Gmail.SendEmailV2(txtTo, {
Subject: txtSubject,
Body: richTextEditor,
Importance: "Normal"
});
Navigate(SuccessScreen, ScreenTransition.None);

Step 7
Save the app to the cloud as shown below image.

Step 8
Now run the app pressing f5 and provide email id, subject, and body details.

Step 9
Click on submit button will be sent an email and navigate to a confirmation screen.

Step 10
Go to your gmail and check whether the email arrived or not. The below image shows the email sent successfully.


Join the conversation! Your thoughts help the community grow.