> 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-hk/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:

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

The question should be specific, self-contained, and written in natural language.
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.
