# Gmail node

Use the Gmail node to automate work in Gmail, and integrate Gmail with other applications. Automated Workflows has built-in support for a wide range of Gmail features, including creating, updating, deleting, and getting drafts, messages, labels, thread.

On this page, you'll find a list of operations the Gmail node supports and links to more resources.

Credentials
Refer to [Google credentials](#) for guidance on setting up authentication.

## Operations

* **Draft**
  * [**Create**](/guides/automated-workflows/integrations/builtin/app-nodes/ts-wf-nodes-base.gmail/draft-operations#create-a-draft) a draft
  * [**Delete**](/guides/automated-workflows/integrations/builtin/app-nodes/ts-wf-nodes-base.gmail/draft-operations#delete-a-draft) a draft
  * [**Get**](/guides/automated-workflows/integrations/builtin/app-nodes/ts-wf-nodes-base.gmail/draft-operations#get-a-draft) a draft
  * [**Get Many**](/guides/automated-workflows/integrations/builtin/app-nodes/ts-wf-nodes-base.gmail/draft-operations#get-many-drafts) drafts
* **Label**
  * [**Create**](/guides/automated-workflows/integrations/builtin/app-nodes/ts-wf-nodes-base.gmail/label-operations#create-a-label) a label
  * [**Delete**](/guides/automated-workflows/integrations/builtin/app-nodes/ts-wf-nodes-base.gmail/label-operations#delete-a-label) a label
  * [**Get**](/guides/automated-workflows/integrations/builtin/app-nodes/ts-wf-nodes-base.gmail/label-operations#get-a-label) a label
  * [**Get Many**](/guides/automated-workflows/integrations/builtin/app-nodes/ts-wf-nodes-base.gmail/label-operations#get-many-labels) labels
* **Message**
  * [**Add Label**](/guides/automated-workflows/integrations/builtin/app-nodes/ts-wf-nodes-base.gmail/message-operations#add-label-to-a-message) to a message
  * [**Delete**](/guides/automated-workflows/integrations/builtin/app-nodes/ts-wf-nodes-base.gmail/message-operations#delete-a-message) a message
  * [**Get**](/guides/automated-workflows/integrations/builtin/app-nodes/ts-wf-nodes-base.gmail/message-operations#get-a-message) a message
  * [**Get Many**](/guides/automated-workflows/integrations/builtin/app-nodes/ts-wf-nodes-base.gmail/message-operations#get-many-messages) messages
  * [**Mark as Read**](/guides/automated-workflows/integrations/builtin/app-nodes/ts-wf-nodes-base.gmail/message-operations#mark-as-read)
  * [**Mark as Unread**](/guides/automated-workflows/integrations/builtin/app-nodes/ts-wf-nodes-base.gmail/message-operations#mark-as-unread)
  * [**Remove Label**](/guides/automated-workflows/integrations/builtin/app-nodes/ts-wf-nodes-base.gmail/message-operations#remove-label-from-a-message) from a message
  * [**Reply**](/guides/automated-workflows/integrations/builtin/app-nodes/ts-wf-nodes-base.gmail/message-operations#reply-to-a-message) to a message
  * [**Send**](/guides/automated-workflows/integrations/builtin/app-nodes/ts-wf-nodes-base.gmail/message-operations#send-a-message) a message
* **Thread**
  * [**Add Label**](/guides/automated-workflows/integrations/builtin/app-nodes/ts-wf-nodes-base.gmail/thread-operations#add-label-to-a-thread) to a thread
  * [**Delete**](/guides/automated-workflows/integrations/builtin/app-nodes/ts-wf-nodes-base.gmail/thread-operations#delete-a-thread) a thread
  * [**Get**](/guides/automated-workflows/integrations/builtin/app-nodes/ts-wf-nodes-base.gmail/thread-operations#get-a-thread) a thread
  * [**Get Many**](/guides/automated-workflows/integrations/builtin/app-nodes/ts-wf-nodes-base.gmail/thread-operations#get-many-threads) threads
  * [**Remove Label**](/guides/automated-workflows/integrations/builtin/app-nodes/ts-wf-nodes-base.gmail/thread-operations#remove-label-from-a-thread) from thread
  * [**Reply**](/guides/automated-workflows/integrations/builtin/app-nodes/ts-wf-nodes-base.gmail/thread-operations#reply-to-a-message) to a message
  * [**Trash**](/guides/automated-workflows/integrations/builtin/app-nodes/ts-wf-nodes-base.gmail/thread-operations#trash-a-thread) a thread
  * [**Untrash**](/guides/automated-workflows/integrations/builtin/app-nodes/ts-wf-nodes-base.gmail/thread-operations#untrash-a-thread) a thread


## Related resources

Refer to Google's [Gmail API documentation](https://developers.google.com/gmail/api) for detailed information about the API that this node integrates with.

Automated Workflows provides a trigger node for Gmail. You can find the trigger node docs [here](#).

## What to do if your operation isn't supported

If this node doesn't support the operation you want to do, you can use the [HTTP Request node](/guides/automated-workflows/integrations/builtin/core-nodes/ts-wf-nodes-base.httprequest) to call the service's API.

You can use the credential you created for this service in the HTTP Request node:

1. In the HTTP Request node, select **Authentication** > **Predefined Credential Type**.
2. Select the service you want to connect to.
3. Select your credential.


## Common issues

For common errors or issues and suggested resolution steps, refer to [Common Issues](/guides/automated-workflows/integrations/builtin/app-nodes/ts-wf-nodes-base.gmail/common-issues).