节点与集成
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.
Operations
- Draft
- **Create** a draft
- **Delete** a draft
- **Get** a draft
- **Get Many** drafts
- Label
- **Create** a label
- **Delete** a label
- **Get** a label
- **Get Many** labels
- 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
- **Add Label** to a thread
- **Delete** a thread
- **Get** a thread
- **Get Many** threads
- **Remove Label** from thread
- **Reply** to a message
- **Trash** a thread
- **Untrash** a thread
Templates and examples
Browse n8n-nodes-base.gmail integration templates or search all templates
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.
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.
官方原文和授权
本页来自 N8N 英文官方网站固定快照,并转换成 xueai 静态页面。内容以 N8N 持续更新的官方页面为准。