Connect Gmail to send emails, search your inbox, manage drafts and labels, and start workflows when new mail arrives.
Authentication: OAuth 2.0. Connect your Google account on the integrations page.
Triggers
New Email
Fires when a new email arrives in your inbox.
| Output | Type | Description |
|---|---|---|
messageId | string | Gmail message ID |
threadId | string | Thread ID |
subject | string | Email subject |
from | string | Sender address |
to | string | Recipient address(es) |
cc | string | CC addresses |
date | string | Received date (ISO 8601) |
snippet | string | Short preview of the message body |
labelIds | array | Applied label IDs |
New Email Matching Search
Fires when a new email arrives that matches a Gmail search query (e.g. from:boss@company.com subject:urgent).
| Output | Type | Description |
|---|---|---|
messageId | string | Gmail message ID |
subject | string | Email subject |
from | string | Sender address |
snippet | string | Message preview |
Label Changed
Fires when a label is applied to or removed from an email.
| Output | Type | Description |
|---|---|---|
messageId | string | Message ID |
subject | string | Email subject |
addedLabels | array | Labels added |
removedLabels | array | Labels removed |
Actions
Send Email
Sends an email from your Gmail account.
| Input | Required | Description |
|---|---|---|
| To | Yes | Recipient email address(es) |
| CC | No | CC addresses |
| BCC | No | BCC addresses |
| Subject | Yes | Email subject line |
| Body | Yes | Email body content |
| Body Format | No | plain, markdown, or html (default: plain) |
| Attachments | No | Files to attach |
| Output | Type | Description |
|---|---|---|
messageId | string | ID of the sent message |
threadId | string | Thread ID |
Reply to Email
Sends a reply in an existing email thread.
| Input | Required | Description |
|---|---|---|
| Message ID | Yes | The message ID to reply to |
| Body | Yes | Reply body |
| Body Format | No | plain, markdown, or html |
Forward Email
Forwards an existing email to a new recipient.
| Input | Required | Description |
|---|---|---|
| Message ID | Yes | The message to forward |
| To | Yes | Forwarding recipient |
| Body | No | Additional text prepended to the forwarded message |
Create Draft
Creates a draft email without sending it.
| Input | Required | Description |
|---|---|---|
| To | Yes | Recipient |
| Subject | Yes | Subject |
| Body | Yes | Body content |
| Output | Type | Description |
|---|---|---|
draftId | string | ID of the created draft |
Search Emails
Searches your Gmail using Gmail search syntax.
| Input | Required | Description |
|---|---|---|
| Query | Yes | Gmail search query (e.g. from:alice@example.com is:unread) |
| Output | Type | Description |
|---|---|---|
emails | array | Matching email objects |
Get Email with Attachments
Retrieves a full email including its attachments.
| Input | Required | Description |
|---|---|---|
| Message ID | Yes | Gmail message ID |
| Output | Type | Description |
|---|---|---|
email | object | Full email with subject, from, body, attachments |
List Labels
Returns all Gmail labels in your account.
| Output | Type | Description |
|---|---|---|
labels | array | Label objects with id and name |
Update Label
Applies or removes labels on a message.
| Input | Required | Description |
|---|---|---|
| Message ID | Yes | Gmail message ID |
| Add Labels | No | Label IDs to apply |
| Remove Labels | No | Label IDs to remove |