> For the complete documentation index, see [llms.txt](https://doc.thordata.com/doc/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.thordata.com/doc/zh/web-scraper-api/ji-cheng/google-gmail-ji-cheng.md).

# Google Gmail 集成

#### Google Gmail 邮箱集成功能说明

通过 Gmail 集成功能，您可以将 Web Scraper 抓取任务的结果自动发送到指定的电子邮件地址，从而实现数据结果的电子邮件分发、归档或团队共享。您还可以在抓取任务发生特定事件时，自动发送通知到指定系统，让您实时跟踪任务状态或将数据推送到其他服务。

***

#### 集成配置：

**1. 集成功能名称**

为该集成任务自定义一个名称，方便您在后续管理和识别。建议根据用途或抓取对象命名，例如“产品评论结果上传至 Gmail”。

**2. 事件类型设置**

* **指定任务 ID**\
  适用于将已知的特定抓取任务结果发送到 Gmail。\
  适合处理一个抓取工具的多个任务 ID 结果。\
  多个任务 ID 请使用英文逗号分隔。\
  最多支持 10 个任务 ID。
* **跟随任务**\
  自动将该抓取工具后续产生的所有结果上传至 Gmail。\
  一次配置，持续生效，除非手动关闭或删除该集成任务。\
  更适合持续性抓取或周期性任务的自动化数据归档。
* **关键事件**

  运行中：任务正在执行中

  任务成功：抓取任务已成功完成，并返回结果

  任务失败：抓取任务未返回任何数据或发生错误

**3. 发送邮件参数**

<details>

<summary><code>email</code> ，<strong>邮件地址（必填）</strong></summary>

用于接收结果文件的 Google 邮箱地址。

</details>

<details>

<summary><code>subject</code> ，<strong>邮件标题（必填）</strong></summary>

用于定义邮件名称。

</details>

<details>

<summary><code>file_type</code> ，<strong>文件格式（必填）</strong></summary>

Amazon 产品的结果可以选择 JSON 格式或者 CSV 格式发送。YouTube 产品的结果只可使用文件格式进行发送。\
参数值：`JSON` `CSV` `下载链接`

</details>

***

如需更多帮助，请通过邮箱 <support@thordata.com> 联系我们。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://doc.thordata.com/doc/zh/web-scraper-api/ji-cheng/google-gmail-ji-cheng.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
