Clarification on 'Send Email' vs 'Use Gmail' Activities

Good day,

I’m working on a project that involves sending Gmail messages, and I would like to understand the difference between the ‘Send Email’ and ‘Use Gmail’ activities as show below.


I’ve tried using the ‘Send Email’ activity by setting up a connection with my Gmail account. After completing the two-factor authentication (2FA), I was able to successfully send an email through this activity.

The send email process should work reliably in unattended. To avoid multi-factor authentication (MFA) prompt after the initial setup, do I need to setup the OAuth 2.0 to get the client ID and client secret?
Integration Service - Gmail authentication

Kindly assist. Thank you!

Use Gmail

Selects a Gmail account to use in your automation and enables Studio to integrate with Gmail and Google Calendar. After you add this activity, add the activities that work with data from the account inside Use Gmail. When you configure the activities added inside it, you can select data from the account directly from Studio.

Send Email

Sends an email from the specified email account. This activity must be added inside a Use Outlook 365, Use Gmail, or Use Desktop Outlook App activity.

according to above documentation your steps are correct Send Email should be use inside Use Gmail activity. Use Gmail create a connection so that you can use multiple activities like send email, Reply to Email, Forward email, etc.