Gmail
EmailOAuth 2.0credential probe
Read mailbox messages with the Gmail API (mail.fetch).
OCNORA ships 18 typed Gmail operations and 1 trigger. Each node has a schema-driven form, input and output tables beside its settings, and is pre-flighted by Workflow Health before your first real run.
Triggers 1
- New EmailStart a run for each new email matching a Gmail search (polled).trigger.gmail_new_email
Operations 18
- Add/Remove LabelsAdd or remove labels on a Gmail message (by label name or id).gmail.add_label
- Create DraftSave an email as a Gmail draft (optionally inside an existing thread).gmail.create_draft
- Create LabelCreate a Gmail label, or return the existing one with that name.gmail.create_label
- Create MessageDirectly inserts a message into only this user's mailbox similar to `IMAP APPEND`, bypassing most scanning and classification.gmail.create_message
- Delete DraftImmediately and permanently deletes the specified draft.gmail.delete_draft
- Delete LabelImmediately and permanently deletes the specified label and removes it from any messages and threads that it's applied to.gmail.delete_label
- Get AttachmentDownload one attachment from a Gmail message as a base64 file blob.gmail.get_attachment
- Get DraftGets the specified draft.gmail.get_draft
- Get LabelGets the specified label.gmail.get_label
- Get MessageFetch one Gmail message (headers, body, attachment list) by id.gmail.get_message
- List DraftsLists the drafts in the user's mailbox.gmail.list_drafts
- List LabelsLists all labels in the user's mailbox.gmail.list_labels
- Mark Read/UnreadMark a Gmail message as read or unread.gmail.mark_read
- Replace DraftReplaces a draft's content.gmail.replace_draft
- Replace LabelUpdates the specified label.gmail.replace_label
- Search MessagesSearch a mailbox and return the matching messages (newest first).gmail.search
- Trash MessageMove a Gmail message to the trash (recoverable for 30 days).gmail.trash
- Update LabelPatch the specified label.gmail.update_label
Templates that use Gmail
- Inbox triage: classify and route emailEvery 15 minutes, fetch the next unread email, classify it (urgent / billing / general) and route urgent ones to the on-call inbox with an auto-acknowledgement.
- Sales inbox: qualify and routePoll the sales mailbox, classify each email as lead / existing customer / vendor, create Iris records for new leads and forward the rest to the right team.
Run your first Gmail workflow today.
Create a free workspace, add the connection, pick a template or describe the workflow to Build with AI. Workflow Health checks it before it runs.