Gmail
Last updated October 15, 2026
The Gmail connector is used to send emails to the authenticated users.
Note The Gmail connector is available both in Automations (as a connector) and in Agents (as a tool).
Set Up the Gmail Connector
Perform the following steps to set up the Gmail connector:
- Log into the Contentstack account.
- After logging in, click the App Switcher icon, then select Agent OS from the list.Click to enlarge
- Open your project or create a new one.
- From the Agent OS Dashboard screen, click + New Automation, then click Create New to configure the trigger and action step.
- Click Configure Action Step in the left navigation panel.
- Click Action Step to configure third-party services.
- Within the Configure Action Step, click Gmail.Click to enlarge
- Under the Choose an Action tab, select Send Email.
- Click + Add New Account to set up your Gmail account.
- In the Manage Permissions modal, review the permission granted: Send emails on your behalf.
- Enter the following details to send the email:
- To (required): Enter the user's email ID to whom you want to send the email. You can add multiple email IDs separated by a new line.
- Subject (required): Enter the subject of the email.
- Body (required): Enter your message.
- Click Show optional fields to reveal:
- Body Type: Send the email as Text or HTML.
- Cc: Add recipient email addresses to Cc. Enter one email address per line.
- Bcc: Add recipient email addresses to Bcc. Enter one email address per line.Click to enlarge
- Click Proceed.
- Click Test Action to test whether the email sending was successful.
- The system queues the email and sends it to the recipient's email address. Click Save and Exit to close the window.
- Check the recipient's inbox to confirm the email was sent.
This sets up the Gmail connector.