Integrations

Gmail

6 actions for Gmail.

Add Label to Email#

Add a label to an email in Gmail. The email will be updated with the specified label.

Plans: Trial, Pro, Premium, Enterprise · Type: GmailAddLabel

Inputs#

FieldTypeRequiredDefaultWhat it does
Email IDTextNo(empty)Email ID to add label to.
Label NameTextNo{input}Label Name to be added to the email.
Create LabelYes/NoNoOffIf the label does not exist, create it.

Outputs#

OutputType
OutputObject

Use as an agent tool#

Tool name: gmail_add_label

Add a label (by name) to a Gmail email.

Send Email#

Create a new email in Gmail. The email will be sent to the specified recipient.

Plans: Trial, Pro, Premium, Enterprise · Type: GmailCreateEmail

Inputs#

FieldTypeRequiredDefaultWhat it does
BodyTextNo{input}The body of the email.
SubjectTextNo(empty)The subject of the email.
RecipientTextNo(empty)The recipient of the email.
CCTextNo(empty)The CC of the email.
BCCTextNo(empty)The BCC of the email.
DraftYes/NoNoOffWhether to save the email as a draft. The email will not be sent.
ReplyYes/NoNoOffWhether to send the email as a reply.
Include AttachmentsYes/NoNoOffWhen enabled, files uploaded to this flow session will be attached to the email.
Attachment file nameTextNo—Comma-separated file names if the attachment was generated by the Agent.

Outputs#

OutputType
OutputObject

Use as an agent tool#

Tool name: gmail_send_email

Send a new email via Gmail.

Find Email By ID#

Get an email by its ID. The email will be returned as a message.

Plans: Trial, Pro, Premium, Enterprise · Type: GmailFindEmail

Inputs#

FieldTypeRequiredDefaultWhat it does
Email IDTextNo(empty)Email ID to search for.

Outputs#

OutputType
OutputObject

Use as an agent tool#

Tool name: gmail_find_email

Get a Gmail email by its ID.

List Labels#

List all labels in Gmail (both system labels like INBOX/SENT and user-created labels). Returns each label’s id, name, type, and visibility.

Plans: Trial, Pro, Premium, Enterprise · Type: GmailListLabels

Outputs#

OutputType
OutputObject

Use as an agent tool#

Tool name: gmail_list_labels

List Gmail labels. Call before gmail_add_label / gmail_remove_label to discover available label names.

Remove Label From Email#

Remove a label from an email in Gmail. The email will be updated to remove the specified label.

Plans: Trial, Pro, Premium, Enterprise · Type: GmailRemoveLabel

Inputs#

FieldTypeRequiredDefaultWhat it does
Email IDTextNo(empty)Email ID to remove label from.
Label NameTextNo(empty)Label Name to be removed from the email.

Outputs#

OutputType
OutputObject

Use as an agent tool#

Tool name: gmail_remove_label

Remove a label (by name) from a Gmail email.

Search Emails#

Search for emails in Gmail. The search will return a list of emails that match the specified criteria.

Plans: Trial, Pro, Premium, Enterprise · Type: GmailSearchEmails

Inputs#

FieldTypeRequiredDefaultWhat it does
CriteriaTextNo(empty)The criteria to search for emails.
Max ResultsNumberNo10The maximum number of results to return.

Outputs#

OutputType
OutputObject

Use as an agent tool#

Tool name: gmail_search_emails

Search Gmail emails by query. Returns message_ids — pass each to gmail_find_email to read content.