OCNORA

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 Email
    Start a run for each new email matching a Gmail search (polled).
    trigger.gmail_new_email

Operations 18

  • Add/Remove Labels
    Add or remove labels on a Gmail message (by label name or id).
    gmail.add_label
  • Create Draft
    Save an email as a Gmail draft (optionally inside an existing thread).
    gmail.create_draft
  • Create Label
    Create a Gmail label, or return the existing one with that name.
    gmail.create_label
  • Create Message
    Directly inserts a message into only this user's mailbox similar to `IMAP APPEND`, bypassing most scanning and classification.
    gmail.create_message
  • Delete Draft
    Immediately and permanently deletes the specified draft.
    gmail.delete_draft
  • Delete Label
    Immediately and permanently deletes the specified label and removes it from any messages and threads that it's applied to.
    gmail.delete_label
  • Get Attachment
    Download one attachment from a Gmail message as a base64 file blob.
    gmail.get_attachment
  • Get Draft
    Gets the specified draft.
    gmail.get_draft
  • Get Label
    Gets the specified label.
    gmail.get_label
  • Get Message
    Fetch one Gmail message (headers, body, attachment list) by id.
    gmail.get_message
  • List Drafts
    Lists the drafts in the user's mailbox.
    gmail.list_drafts
  • List Labels
    Lists all labels in the user's mailbox.
    gmail.list_labels
  • Mark Read/Unread
    Mark a Gmail message as read or unread.
    gmail.mark_read
  • Replace Draft
    Replaces a draft's content.
    gmail.replace_draft
  • Replace Label
    Updates the specified label.
    gmail.replace_label
  • Search Messages
    Search a mailbox and return the matching messages (newest first).
    gmail.search
  • Trash Message
    Move a Gmail message to the trash (recoverable for 30 days).
    gmail.trash
  • Update Label
    Patch the specified label.
    gmail.update_label

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.