SKILL25.2K installs2

Connector Googlemail

MANDATORY recipe for every Caffeine build that sends email through the user's own Gmail account. The ONLY supported path is the `googlemail-client` mops package (Gmail REST API) combined with the `google-oauth` mops package (token exchange + refresh + PKCE). Hand-rolling `ic.http_request` calls to `oauth2.googleapis.com` or `gmail.googleapis.com` is a FORBIDDEN anti-pattern — it bypasses bearer auth, replication-cost safeguards, and the `google-oauth` library's percent-encoding and JSON parsing. Load this skill whenever the user, spec, or any prior task mentions sending email, Gmail, "notify via email", "forward results by email", or any equivalent phrasing — and BEFORE writing any code that touches a Google endpoint.

Type
Skill
Author
caffeinelabs
Category
API Integration
GitHub stars
2
Installs
25.2K
Last updated
November 2, 2026

Install

npx skills add https://github.com/caffeinelabs/skills --skill connector-googlemail

Use cases


Frequently Asked Questions

Why is hand-rolling ic.http_request calls to Google endpoints forbidden?

It bypasses bearer auth, replication-cost safeguards, and the google-oauth library's percent-encoding and JSON parsing.

Which packages does this skill combine?

The googlemail-client mops package for the Gmail REST API and the google-oauth mops package for token exchange, refresh, and PKCE.

When should I load this skill?

Whenever the user, spec, or a prior task mentions sending email, Gmail, or notifying by email, and before writing code that touches a Google endpoint.


About this skill

A required recipe for any Caffeine build that sends email through the user's own Gmail account, using the googlemail-client and google-oauth mops packages together. It exists to prevent hand-rolled HTTP calls to Google's OAuth or Gmail endpoints, which bypass bearer auth and the library's encoding and parsing safeguards. Load it before writing any code that touches a Google endpoint, whenever email or Gmail comes up.

Summary written with AI assistance from the project's public description.


Categories


More from caffeinelabs


Similar Skills