Gmail
Overview of the Gmail integration.
The following documentation is for Gmail v2.0.2.
Overview
Gmail is Google's comprehensive email service providing powerful messaging, organization, and collaboration features. This integration enables automated email sending, inbox management, message filtering, and email workflow automation. Streamline communication processes and enhance productivity through intelligent email automation.
Setup
The following integrations need to be connected to your Kognitos workspace:
Gmail
Steps
Follow these steps to connect the integration in Kognitos:
Navigate
Using the left navigation menu, go to Integrations → Explore Integrations.
Find
Search for the integration and click on it.
Connect
Click on Connect to add a connection to the integration.
Configure
Add a name for the connection. You'll be prompted for authentication details if needed. Then, click on Connect.
Authentication
Use one of the following authentication methods to connect this integration in Kognitos. Each method has its own configuration requirements.
Continue with Google
To connect to the Gmail book, click on Continue with Google. This will redirect you to Google's secure authentication page where you can sign in with your Google account and authorize the application. Once connected, the Kognitos agent will have access to your Gmail account while keeping your credentials secure.
Actions
The following actions are available in the Gmail integration:
1. Add a label to an email
Add a label to one or more emails.
2. Download an email's attachments
Get an email attachment as an IO object.
3. Forward an email
Forward an email to new recipients.
4. Get some label's emails
Get emails from a specified label in Gmail.
5. List labels
Get all labels from the user's Gmail account.
6. Remove a label from an email
Remove a label from one or more emails.
7. Reply an email
Reply to an email.
8. Send an email
Send an email using Gmail API.
Concepts
Gmail email
A Gmail Email represents an email message in Gmail.
id
The unique identifier for the email.
text
thread_id
The unique identifier for the thread containing the email.
text
state
The state of the email (draft, unread, or read).
text
sender
The sender of the email.
text
message_id
The unique identifier for the message.
optional[text]
cc_recipients
The cc recipients of the email.
optional[list of text]
bcc_recipients
The bcc recipients of the email.
optional[list of text]
subject
The subject of the email.
optional[text]
plain_body
The plain text body of the email.
optional[text]
html_body
The html body of the email.
optional[text]
sent_date_time
The date and time the email was sent.
optional[datetime]
received_date_time
The date and time the email was received.
optional[datetime]
Gmail attachment reference
A Gmail Attachment Reference represents a reference to a file attached to an email in Gmail.
id
The unique identifier for the attachment.
text
email_id
The unique identifier for the email.
text
file_name
The name of the attachment.
text
file_size
The size of the file in bytes.
number
Gmail attachment
A Gmail Attachment represents a file with name.
file_name
The name of the attachment.
text
content
The content of the attachment.
file
Last updated
Was this helpful?

