Duaer

集成

Duaer 里 Gmail 的常见问题

Duaer 里 Gmail 节点的常见问题:邮件末尾的署名、Forbidden、401 和无效参数。

去掉邮件末尾的 Duaer 署名

发送或回复邮件时,默认在末尾加上 This email was sent automatically with Duaer。在 Options 里添加 Append Duaer Attribution 并关掉即可。

Forbidden - perhaps check your credentials?

常出现在 Label Names or IDs 等下拉框旁。多半是用了 Google 服务账号却没打开 Impersonate a User。在 服务账号凭证 里打开它,填要代为操作的邮箱。

401 unauthorized_client

完整报错类似 401 - {"error":"unauthorized_client", ...},说明凭证的权限或授权范围不对:

  • OAuth2 凭证:在 Google Cloud 控制台的 APIs & Services → Library 里启用 Gmail API。
  • 服务账号凭证:在 Google Workspace 管理后台为这个服务账号开启全网域委派,并把 Gmail API 需要的授权范围加进去。

Bad request - please check your parameters

多半是 Message ID、Thread ID 或 Label ID 不存在。先用同一个 ID 做一次 Get,确认它存在。

常见问题

Duaer 的 Gmail 节点怎么去掉邮件末尾的署名?

在 Duaer Gmail 节点的 Options 里添加 Append Duaer Attribution 并关掉。

同组