---
title: "Gmail"
description: "Send, list, get, reply, and manage Gmail from a workflow using a Google connection."
canonical_url: "https://docs.vettero.com/build/workflows/blocks/gmail"
---
# 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](https://docs.vettero.com/integrations/third-party-services/google) connection has **Gmail** enabled. Shared graph rules are on [Workflows](https://docs.vettero.com/build/workflows).

These steps talk to the mailbox on that connection. They do not open a chat session. Use [Mail Chat](https://docs.vettero.com/build/channels/mail-chat) when inbound mail should become a conversation with a default agent, or [Mail Received](https://docs.vettero.com/build/event-handlers/mail-received) when a handler should run on new mail.

<table>
<thead>
  <tr>
    <th>
      Use
    </th>
    
    <th>
      Block
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      Send a new message
    </td>
    
    <td>
      <a href="https://docs.vettero.com/build/workflows/blocks/gmail/send-email">
        Send Email
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      Load one message by id
    </td>
    
    <td>
      <a href="https://docs.vettero.com/build/workflows/blocks/gmail/get-email">
        Get Email
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      Search or page through messages
    </td>
    
    <td>
      <a href="https://docs.vettero.com/build/workflows/blocks/gmail/list-emails">
        List Emails
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      Reply in an existing thread
    </td>
    
    <td>
      <a href="https://docs.vettero.com/build/workflows/blocks/gmail/reply-email">
        Reply to Email
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      Load a conversation
    </td>
    
    <td>
      <a href="https://docs.vettero.com/build/workflows/blocks/gmail/get-thread">
        Get Thread
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      Search threads
    </td>
    
    <td>
      <a href="https://docs.vettero.com/build/workflows/blocks/gmail/list-threads">
        List Threads
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      Download an attachment
    </td>
    
    <td>
      <a href="https://docs.vettero.com/build/workflows/blocks/gmail/get-attachment">
        Get Attachment
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      Archive, star, mark read
    </td>
    
    <td>
      <a href="https://docs.vettero.com/build/workflows/blocks/gmail/modify-labels">
        Modify Labels
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      Trash or restore
    </td>
    
    <td>
      <a href="https://docs.vettero.com/build/workflows/blocks/gmail/trash-email">
        Trash Email
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      Forward
    </td>
    
    <td>
      <a href="https://docs.vettero.com/build/workflows/blocks/gmail/forward-email">
        Forward Email
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      Drafts
    </td>
    
    <td>
      <a href="https://docs.vettero.com/build/workflows/blocks/gmail/create-draft">
        Create Draft
      </a>
      
      , <a href="https://docs.vettero.com/build/workflows/blocks/gmail/send-draft">
        Send Draft
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      Labels
    </td>
    
    <td>
      <a href="https://docs.vettero.com/build/workflows/blocks/gmail/list-labels">
        List Labels
      </a>
      
      , <a href="https://docs.vettero.com/build/workflows/blocks/gmail/list-folders">
        List Folders
      </a>
      
      , <a href="https://docs.vettero.com/build/workflows/blocks/gmail/create-label">
        Create Label
      </a>
    </td>
  </tr>
</tbody>
</table>

<tip>

Store `threadId` on a [Gmail Thread](https://docs.vettero.com/data/tables/gmail-thread) column so later [Reply to Email](https://docs.vettero.com/build/workflows/blocks/gmail/reply-email) stays on the same conversation.

</tip>

<searchable-card-grid :items="[{"title":"Send Email","description":"Send an email from the connected Gmail mailbox.","icon":"i-lucide-send","to":"/build/workflows/blocks/gmail/send-email","keywords":"gmail send email subject body cc bcc attachment"},{"title":"Get Email","description":"Load one Gmail message by id with headers, body, and attachment metadata.","icon":"i-lucide-mail-open","to":"/build/workflows/blocks/gmail/get-email","keywords":"gmail get email message id thread"},{"title":"List Emails","description":"List Gmail messages with optional search, labels, and paging.","icon":"i-lucide-list","to":"/build/workflows/blocks/gmail/list-emails","keywords":"gmail list emails search query labels"},{"title":"Reply to Email","description":"Send a reply in an existing Gmail thread.","icon":"i-lucide-reply","to":"/build/workflows/blocks/gmail/reply-email","keywords":"gmail reply thread conversation reply all"},{"title":"Get Thread","description":"Load every message in a Gmail thread.","icon":"i-lucide-messages-square","to":"/build/workflows/blocks/gmail/get-thread","keywords":"gmail get thread conversation"},{"title":"List Threads","description":"List Gmail threads with optional search, labels, and paging.","icon":"i-lucide-layers","to":"/build/workflows/blocks/gmail/list-threads","keywords":"gmail list threads search"},{"title":"Get Attachment","description":"Download a Gmail attachment into workspace Files.","icon":"i-lucide-paperclip","to":"/build/workflows/blocks/gmail/get-attachment","keywords":"gmail attachment download file"},{"title":"Modify Labels","description":"Add or remove labels (archive, read, star, custom).","icon":"i-lucide-tags","to":"/build/workflows/blocks/gmail/modify-labels","keywords":"gmail labels archive unread star"},{"title":"Trash Email","description":"Move a message to trash or restore it.","icon":"i-lucide-trash","to":"/build/workflows/blocks/gmail/trash-email","keywords":"gmail trash untrash"},{"title":"Forward Email","description":"Forward a message to new recipients.","icon":"i-lucide-forward","to":"/build/workflows/blocks/gmail/forward-email","keywords":"gmail forward"},{"title":"Create Draft","description":"Save a Gmail draft without sending.","icon":"i-lucide-file-pen","to":"/build/workflows/blocks/gmail/create-draft","keywords":"gmail draft create"},{"title":"Send Draft","description":"Send an existing Gmail draft.","icon":"i-lucide-send","to":"/build/workflows/blocks/gmail/send-draft","keywords":"gmail send draft"},{"title":"List Drafts","description":"List Gmail drafts with paging.","icon":"i-lucide-list","to":"/build/workflows/blocks/gmail/list-drafts","keywords":"gmail list drafts"},{"title":"Get Draft","description":"Load one Gmail draft by id.","icon":"i-lucide-file","to":"/build/workflows/blocks/gmail/get-draft","keywords":"gmail get draft"},{"title":"List Labels","description":"List labels in the connected mailbox.","icon":"i-lucide-tags","to":"/build/workflows/blocks/gmail/list-labels","keywords":"gmail list labels"},{"title":"List Folders","description":"List user labels (folders) in the connected mailbox.","icon":"i-lucide-folder","to":"/build/workflows/blocks/gmail/list-folders","keywords":"gmail list folders labels"},{"title":"Create Label","description":"Create a user label in Gmail.","icon":"i-lucide-tag","to":"/build/workflows/blocks/gmail/create-label","keywords":"gmail create label"}]" empty="No Gmail blocks match that search." placeholder="Search Gmail blocks…">



</searchable-card-grid>

<block-page-nav>



</block-page-nav>


## Sitemap

See the full [sitemap](https://docs.vettero.com/sitemap.md) for all pages.
