Gmail
Send, list, get, reply, and manage Gmail from a workflow using a Google connection.
Gmail blocks sit in the builder palette under google/gmail. They appear only when a Google connection has Gmail enabled. Shared graph rules are on Workflows.
These steps talk to the mailbox on that connection. They do not open a chat session. Use Mail Chat when inbound mail should become a conversation with a default agent, or Mail Received when a handler should run on new mail.
| Use | Block |
|---|---|
| Send a new message | Send Email |
| Load one message by id | Get Email |
| Search or page through messages | List Emails |
| Reply in an existing thread | Reply to Email |
| Load a conversation | Get Thread |
| Search threads | List Threads |
| Download an attachment | Get Attachment |
| Archive, star, mark read | Modify Labels |
| Trash or restore | Trash Email |
| Forward | Forward Email |
| Drafts | Create Draft, Send Draft |
| Labels | List Labels, List Folders, Create Label |
17