connector-googlemail
Build Gmail Connections for Caffeine Apps
Gmail integrations require careful OAuth, token storage, and callback handling. This skill provides a complete Motoko and frontend recipe for connecting accounts and sending email.
安装前请停下并请求确认。
请审查安装计划,并在更改文件前获得用户明确同意。
使用我的智能体安装
将此请求复制给你的智能体,其中包含权威 Skill 页面和清单。
Review the Skillstore skill "connector-googlemail" from https://skillstore.io/skills/caffeinelabs-connector-googlemail.md and its manifest at https://skillstore.io/api/skills/caffeinelabs-connector-googlemail/manifest. Verify the artifact. Stop and obtain explicit user consent before installing or changing files.你的智能体仍应展示其计划,并按安全策略请求必要确认。
Agent 可读资源
当 AI Agent、爬虫或脚本需要干净上下文,而不是读取完整页面时,请使用这些链接。
测试它
正在使用“connector-googlemail”。 Build a send-only Gmail connector for signed-in users.
预期结果:
- Dependencies use the documented Gmail, OAuth, and authorization package versions.
- Each user completes a PKCE flow and receives caller-keyed backend token storage.
- The send operation uses the Gmail send scope and one refresh attempt after HTTP 401.
- The frontend includes reachable settings and callback routes.
正在使用“connector-googlemail”。 Combine Gmail sending with Google Calendar access.
预期结果:
- One admin credential set serves both Google services.
- One callback exchanges the authorization code for a shared per-user connection.
- The consent request contains the union of required Gmail and Calendar scopes.
- Each API creates its own non-replicated client configuration from the shared token.
安全审计
高风险All 255 static findings are false positives caused by Markdown backticks, documented Google and Mops URLs, fixed relative links/imports, ellipses, and Gmail or OIDC terminology. Semantic review found unvalidated RFC 5322 headers and a disconnect flow that deletes local state without revoking Google's refresh token.
已确认安全问题 (2)
风险因素
⚙️ 外部命令 (50)
🌐 网络访问 (20)
分享与引用此报告
分享版本化评估报告、中性徽章、嵌入卡片和引用。Skillstore 只报告证据,不判断该 Skill 是否安全。
复制报告链接
https://skillstore.io/skills/caffeinelabs-connector-googlemail/audits/1?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown 徽章
[](https://skillstore.io/skills/caffeinelabs-connector-googlemail?utm_source=security_passport_badge)HTML 徽章
<a href="https://skillstore.io/skills/caffeinelabs-connector-googlemail?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/caffeinelabs-connector-googlemail/security.svg" alt="Skillstore security assessment" loading="lazy"></a>嵌入卡片
<iframe src="https://skillstore.io/embed/skills/caffeinelabs-connector-googlemail.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>学术引用 (APA · BibTeX · CFF)
APA 引用
caffeinelabs. (2026). connector-googlemail security audit report (audit version 1) [Author version 0.2.3]. Skillstore. https://skillstore.io/skills/caffeinelabs-connector-googlemail/audits/1BibTeX 引用
@techreport{caffeinelabs-caffeinelabs-connector-googlemail-2026,
author = {caffeinelabs},
title = {connector-googlemail security audit report (audit version 1)},
institution = {Skillstore},
year = {2026},
number = {1},
url = {https://skillstore.io/skills/caffeinelabs-connector-googlemail/audits/1},
note = {Author version 0.2.3}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "connector-googlemail security audit report (audit version 1)"
version: "0.2.3"
type: report
authors:
- name: "caffeinelabs"
date-released: "2026-07-23"
url: "https://skillstore.io/skills/caffeinelabs-connector-googlemail/audits/1"
identifiers:
- type: other
value: "skillstore:caffeinelabs-connector-googlemail:audit:1"
description: "Skillstore immutable audit report identifier"
Skillstore 评分
评分依据 证据置信度: 中你能构建什么
Add Gmail Sending
Implement authenticated email sending from each user's Gmail account with minimal scopes and automatic token refresh.
Build OAuth Screens
Create reachable credential settings and callback routes that preserve OAuth state and wait for actor readiness.
Combine Google Services
Share one OAuth connection, credential set, and union scope across Gmail and Google Calendar features.
试试这些提示
Build a send-only Gmail connector for my Caffeine app. Use the documented Mops versions, per-user PKCE, and the smallest required scopes.
Add admin Gmail settings and a real /connect/gmail callback route. Show the exact redirect URI and wait for authenticated actor readiness.
Extend the connector to list Gmail messages. Request gmail.readonly only for reading, preserve non-replicated calls, and retry once after a 401.
Create one shared Google OAuth flow for Gmail and Calendar. Use union scopes, one connection map, and separate non-replicated client configurations.
最佳实践
- Request only the Gmail scopes required by implemented operations.
- Keep client secrets and bearer tokens in the canister behind caller and admin checks.
- Use one exact callback URI, generate state on the backend, and validate it before token exchange.
避免
- Do not hand-roll Google HTTP requests when the documented OAuth and Gmail packages provide the operation.
- Do not return client secrets, access tokens, refresh tokens, or complete connection records to the frontend.
- Do not create separate OAuth flows for Gmail and Calendar when both use the same Google account.
常见问题
Which applications does this skill support?
Whose address sends the email?
Which scopes are required for sending?
Can the frontend access OAuth tokens?
Does disconnect revoke Google access?
How should Gmail and Calendar share OAuth?
开发者详情
作者
caffeinelabs许可证
MIT
作者版本
v0.2.3
Skillstore 修订
r1
引用
f32f934280aa94e399d875d7cf7b2ed16d1b82a3
维护新鲜度
2026/7/23
使用量
0 次下载 · 0 次浏览
文件结构
📄 SKILL.md