Gmail 节点邮件线程操作(Gmail node Thread Operations)#
使用线程操作来删除、回复、移动到垃圾箱、从垃圾箱恢复、添加/移除标签、获取单个线程或列出线程。有关 Gmail 节点本身的更多信息,请参阅 Gmail 节点。
🌐 Use the Thread operations to delete, reply to, trash, untrash, add/remove labels, get one, or list threads. Refer to the Gmail node for more information on the Gmail node itself.
为线程添加标签(Add Label to a thread)#
使用此操作创建新的草稿。
🌐 Use this operation to create a new draft.
请输入以下参数:
🌐 Enter these parameters:
- 选择要使用的 凭据 进行连接,或创建一个新的。
- 资源:选择 线程。
- 操作:选择 添加标签。
- 线程 ID:输入你想要添加标签的线程的 ID。
- 标签名称或ID:选择你想要应用的标签名称,或输入表达式以指定ID。下拉菜单会根据你选择的凭证进行填充。
Refer to the Gmail API Method: users.threads.modify documentation for more information.
删除线程(Delete a thread)#
使用此操作立即永久删除对话主题及其所有消息。
🌐 Use this operation to immediately and permanently delete a thread and all its messages.
永久删除
此操作无法撤销。如需可恢复的删除,请改用回收站操作。
请输入以下参数:
🌐 Enter these parameters:
- 选择要使用的 凭据 进行连接,或创建一个新的。
- 资源:选择 线程。
- 操作:选择删除。
- 线程 ID:输入你想要删除的线程的 ID。
有关更多信息,请参阅 Gmail API 方法:users.threads.delete 文档。
🌐 Refer to the Gmail API Method: users.threads.delete documentation for more information.
获取主题(Get a thread)#
使用此操作获取单个主题。
🌐 Use this operation to get a single thread.
请输入以下参数:
🌐 Enter these parameters:
- 选择要使用的 凭据 进行连接,或创建一个新的。
- 资源:选择 线程。
- 操作:选择 获取。
- 线程 ID:输入你希望检索的线程 ID。
- 简化:选择返回简化版本的响应(开启)还是原始数据(关闭)。默认开启。
- 这与将 API 调用的
format设置为metadata相同,它会返回电子邮件消息 ID、标签和电子邮件头,包括:发件人、收件人、抄送、密送和主题。
- 这与将 API 调用的
获取线程选项(Get thread options)#
使用这些选项来进一步细化节点的行为:
🌐 Use these options to further refine the node's behavior:
- 仅返回消息:选择是否仅返回线程消息(已开启)。
有关更多信息,请参阅 Gmail API 方法:users.threads.get 文档。
🌐 Refer to the Gmail API Method: users.threads.get documentation for more information.
获取多个主题(Get Many threads)#
使用此操作获取两个或多个主题。
🌐 Use this operation to get two or more threads.
请输入以下参数:
🌐 Enter these parameters:
- 选择要使用的 凭据 进行连接,或创建一个新的。
- 资源:选择 线程。
- 操作:选择 获取多个。
- 返回全部:选择节点是返回所有主题(开启)还是仅返回设定限制的数量(关闭)。
- 限制:输入要返回的最大线程数。仅在你关闭返回全部时使用。
获取多个主题筛选条件(Get Many threads filters)#
使用这些过滤器进一步优化节点的行为:
🌐 Use these filters to further refine the node's behavior:
- 包含垃圾邮件和废纸篓:选择是否让节点获取垃圾邮件和废纸篓文件夹中的线程(开启为获取,关闭为不获取)。
- 标签名称或ID:仅返回添加了所选标签的线程。选择你想要应用的标签名称,或者输入表达式以指定ID。下拉菜单会根据你选择的凭证显示内容。
- 搜索:输入 Gmail 搜索优化过滤器,例如
from:,以筛选返回的会话。有关更多信息,请参阅 在 Gmail 中优化搜索。 - 阅读状态:选择接收 未读和已读邮件、仅未读邮件(默认)或 仅已读邮件。
- 接收时间在之后:仅返回在指定日期和时间之后收到的电子邮件。使用日期选择器选择日期和时间,或输入表达式以将日期设置为 ISO 格式的字符串或毫秒时间戳。有关字符串格式的更多信息,请参阅 ISO 8601。
- 在此之前收到:仅返回在指定日期和时间之前收到的电子邮件。使用日期选择器选择日期和时间,或输入表达式以字符串(ISO 格式)或毫秒时间戳的形式设置日期。有关字符串格式的更多信息,请参阅 ISO 8601。
有关更多信息,请参阅 Gmail API 方法:users.threads.list 文档。
🌐 Refer to the Gmail API Method: users.threads.list documentation for more information.
移除线程标签(Remove label from a thread)#
使用此操作可从对话中移除标签。
🌐 Use this operation to remove a label from a thread.
请输入以下参数:
🌐 Enter these parameters:
- 选择要使用的 凭据 进行连接,或创建一个新的。
- 资源:选择 线程。
- 操作:选择 移除标签。
- 线程 ID:输入你想要移除标签的线程 ID。
- 标签名称或ID:选择你想要删除的标签名称,或输入表达式以指定其ID。下拉菜单会根据你选择的凭证进行填充。
Refer to the Gmail API Method: users.threads.modify documentation for more information.
回复消息(Reply to a message)#
使用此操作可回复消息。
🌐 Use this operation to reply to a message.
请输入以下参数:
🌐 Enter these parameters:
- 选择要使用的 凭据 进行连接,或创建一个新的。
- 资源:选择 线程。
- 操作:选择回复。
- 线程 ID:输入你要回复的线程的 ID。
- 消息片段或ID:选择你想回复的消息,或输入一个表达式来指定其ID。下拉菜单会根据你选择的凭证进行填充。
- 选择 邮件类型。可选择 文本 或 HTML。
- 消息:请输入电子邮件正文。
回复选项(Reply options)#
使用这些选项来进一步细化节点的行为:
🌐 Use these options to further refine the node's behavior:
- 附件:选择 添加附件 来添加附件。输入 附件字段名称(在输入中) 以识别输入节点中包含附件的字段。
- 对于多个属性,请输入以逗号分隔的列表。
- 密送:输入一个或多个盲抄收件人的电子邮件地址。多个电子邮件地址请用逗号分隔,例如
jay@gatsby.com, jon@smith.com。 - 抄送:输入一个或多个抄送收件人的电子邮件地址。多个电子邮件地址请用逗号分隔,例如
jay@gatsby.com, jon@smith.com。 - 发件人名称:输入你希望在收件人的电子邮件中显示为发件人的名称。
- 仅回复发件人:选择是回复所有人(已关闭)还是仅回复发件人(已开启)。
有关更多信息,请参考 Gmail API 方法:users.messages.send 文档。
🌐 Refer to the Gmail API Method: users.messages.send documentation for more information.
删除线程(Trash a thread)#
使用此操作可将对话及其所有消息移至回收站。
🌐 Use this operation to move a thread and all its messages to the trash.
请输入以下参数:
🌐 Enter these parameters:
- 选择要使用的 凭据 进行连接,或创建一个新的。
- 资源:选择 线程。
- 操作:选择垃圾。
- 线程 ID:输入你想要移到回收站的线程 ID。
有关更多信息,请参阅 Gmail API 方法:users.threads.trash 文档。
🌐 Refer to the Gmail API Method: users.threads.trash documentation for more information.
恢复已删除的线程(Untrash a thread)#
使用此操作可从回收站中恢复对话及其所有消息。
🌐 Use this operation to recover a thread and all its messages from the trash.
请输入以下参数:
🌐 Enter these parameters:
- 选择要使用的 凭据 进行连接,或创建一个新的。
- 资源:选择 线程。
- 操作:选择 恢复。
- 线程 ID:输入你想要移到回收站的线程 ID。
有关更多信息,请参阅 Gmail API 方法:users.threads.untrash 文档。
🌐 Refer to the Gmail API Method: users.threads.untrash documentation for more information.
常见问题(Common issues)#
有关常见错误或问题及建议的解决步骤,请参考 常见问题。
🌐 For common errors or issues and suggested resolution steps, refer to Common Issues.