Skip to content

Gmail#

Use the Gmail node to automate work in Gmail, and integrate Gmail with other applications. n8n 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
    • Delete
    • Get
    • Get Many
  • Label
    • Create
    • Delete
    • Get
    • Get Many
  • Message
    • Add Label
    • Delete
    • Get
    • Get Many
    • Mark as Read
    • Mark as Unread
    • Remove Label
    • Reply
    • Send
  • Thread
    • Add Label
    • Delete
    • Get
    • Get Many
    • Remove Label
    • reply
    • Trash
    • Untrash

Templates and examples#

Suggest meeting slots using AI

by n8n Team

View template details
Automated Web Scraping: email a CSV, save to Google Sheets & Microsoft Excel

by Mihai Farcas

View template details
Gmail AI Auto-Responder: Create Draft Replies to incoming emails

by Nicolas Chourrout

View template details
Browse Gmail integration templates, or search all templates

Refer to Google's Gmail API documentation for detailed information about the API that this node integrates with.

n8n 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 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.

Refer to Custom API operations for more information.