clawemail
by cto1
CommunicationBrief
Google Workspace via ClawEmail — Gmail, Drive, Docs, Sheets, Slides.
Description
What This Skill Does
Connects AI agents to Google Workspace via a ClawEmail.com account. Covers Gmail, Drive, Docs, Sheets, Slides, Calendar, and Forms through direct API calls with OAuth token management.
Gives agents access to the full Google Workspace suite through a single credential setup, avoiding the need to configure separate OAuth clients for each Google API.
When to Use It
- Send a follow-up email after a meeting
- Create and populate a Google Sheet with scraped data
- Schedule a calendar event with attendees
- Upload a report PDF to a shared Drive folder
- Read form responses and summarize feedback
Example Workflow
User asks: Draft and send a weekly status email to my team
- 1
Run token.sh to obtain a fresh Bearer token
- 2
Compose the email content and encode it as base64 RFC 2822 format
- 3
POST the encoded message to the Gmail send endpoint
- 4
Confirm the message ID in the API response
Email delivered to recipients, response includes the Gmail message ID
Requirements
- ClawEmail account (sign up at clawemail.com)
- CLAWEMAIL_CREDENTIALS environment variable pointing to credentials JSON file
Installation
clawhub install cto1/clawemailRun the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.