Zum Inhalt springen
DeutschlandGPT

Gmail

Send emails, search your inbox, manage drafts and labels from workflows

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.

OutputTypeDescription
messageIdstringGmail message ID
threadIdstringThread ID
subjectstringEmail subject
fromstringSender address
tostringRecipient address(es)
ccstringCC addresses
datestringReceived date (ISO 8601)
snippetstringShort preview of the message body
labelIdsarrayApplied label IDs

Fires when a new email arrives that matches a Gmail search query (e.g. from:boss@company.com subject:urgent).

OutputTypeDescription
messageIdstringGmail message ID
subjectstringEmail subject
fromstringSender address
snippetstringMessage preview

Label Changed

Fires when a label is applied to or removed from an email.

OutputTypeDescription
messageIdstringMessage ID
subjectstringEmail subject
addedLabelsarrayLabels added
removedLabelsarrayLabels removed

Actions

Send Email

Sends an email from your Gmail account.

InputRequiredDescription
ToYesRecipient email address(es)
CCNoCC addresses
BCCNoBCC addresses
SubjectYesEmail subject line
BodyYesEmail body content
Body FormatNoplain, markdown, or html (default: plain)
AttachmentsNoFiles to attach
OutputTypeDescription
messageIdstringID of the sent message
threadIdstringThread ID

Reply to Email

Sends a reply in an existing email thread.

InputRequiredDescription
Message IDYesThe message ID to reply to
BodyYesReply body
Body FormatNoplain, markdown, or html

Forward Email

Forwards an existing email to a new recipient.

InputRequiredDescription
Message IDYesThe message to forward
ToYesForwarding recipient
BodyNoAdditional text prepended to the forwarded message

Create Draft

Creates a draft email without sending it.

InputRequiredDescription
ToYesRecipient
SubjectYesSubject
BodyYesBody content
OutputTypeDescription
draftIdstringID of the created draft

Search Emails

Searches your Gmail using Gmail search syntax.

InputRequiredDescription
QueryYesGmail search query (e.g. from:alice@example.com is:unread)
OutputTypeDescription
emailsarrayMatching email objects

Get Email with Attachments

Retrieves a full email including its attachments.

InputRequiredDescription
Message IDYesGmail message ID
OutputTypeDescription
emailobjectFull email with subject, from, body, attachments

List Labels

Returns all Gmail labels in your account.

OutputTypeDescription
labelsarrayLabel objects with id and name

Update Label

Applies or removes labels on a message.

InputRequiredDescription
Message IDYesGmail message ID
Add LabelsNoLabel IDs to apply
Remove LabelsNoLabel IDs to remove
Was this page helpful?
Gmail · DeutschlandGPT