Gmail node#
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
- Label
- Message
- Add Label to a message
- Delete a message
- Get a message
- Get Many messages
- Mark as Read
- Mark as Unread
- Remove Label from a message
- Reply to a message
- Send a message
- Thread
Templates and examples#
Related resources#
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:
- In the HTTP Request node, select Authentication > Predefined Credential Type.
- Select the service you want to connect to.
- Select your credential.
Refer to Custom API operations for more information.
Common issues#
For common errors or issues and suggested resolution steps, refer to Common Issues.