搭建
在 Duaer 里用 Gmail 发邮件
在 Duaer 里,Gmail 默认 Authentication 是 OAuth2,Resource 是 Message,Operation 是 Send。Email Type 默认 HTML。需要 gmailOAuth2 凭据。
发一封邮件
- 先建好 gmailOAuth2 凭据(或按面板改用 Service Account / googleApi)。
- 搜索 Gmail,接到上一个节点后面,选上凭据。
- Resource 保持 Message,Operation 保持 Send。
- 填 To、Subject、Message。Email Type 保持 HTML(或改成 Text)。
- 点执行此步骤。
同一 Resource 下还有 Get、Get Many、Delete、Reply、Add Labels 等。
SMTP 发信见 在 Duaer 里用 Send Email 发邮件;收信见 在 Duaer 里用 Email Trigger (IMAP) 收信。
常见问题
Duaer 的 Gmail 和 Send Email 有何不同?
Gmail 走 Google 账号(OAuth2 或 Service Account)。Send Email 走 SMTP 凭据,不绑 Gmail 产品。
同组
节点
在 Duaer 里用 Send Email 发邮件
在 Duaer 里,节点名是 Send Email。默认 Operation 是 Send。填 From Email、To Email、Subject;当前版本 Email Format 默认 HTML。
节点在 Duaer 里用 Email Trigger (IMAP) 收信
在 Duaer 里,Email Trigger (IMAP) 在收到新邮件时启动数字组织。Mailbox Name 默认 INBOX;Action 默认 Mark as Read;Format 默认 Simple。需要 imap 凭据。
节点在 Duaer 里用 Google Sheets 读行
在 Duaer 里,Google Sheets 默认 Authentication 是 OAuth2,Resource 是 Sheet,Operation 是 Get Row(s)。需要 googleSheetsOAuth2Api 凭据。