Skip to main content

Google Workspace Pack

★Trusted◇Sandbox optionalv1.0.0MIT✔Verified80

by AgentNode · published 6 months ago · toolpack

Access Gmail, Google Calendar, Drive, Sheets, and Docs.

Full Google Workspace integration. Send and read emails, manage calendar events, upload/download files from Drive, read/write spreadsheets, and edit documents.

langchaincrewaigeneric

Quick Start

bash
agentnode install google-workspace-pack

Runs in a subprocess with filtered environment by default. Declared permissions are policy-checked, not sandboxed.

Usage

From package
python
from google_workspace_pack.tool import run

# Send an email via Gmail
email_result = run(
    action="gmail_access",
    operation="send",
    to=["team@acmecorp.com"],
    subject="Sprint 14 Planning — Thursday 2pm",
    body_html="<p>Hi team,</p><p>Sprint planning is scheduled for <b>Thursday at 2:00 PM ET</b>. Please update your Jira tickets before the meeting.</p><p>Agenda: <a href='https://docs.google.com/doc/d/abc123'>link</a></p>"
)
print(f"Email sent: {email_result['message_id']}")

# Create a matching calendar event
cal_result = run(
    action="gcal_access",
    operation="create_event",
    calendar_id="primary",
    summary="Sprint 14 Planning",
    start="2025-03-20T14:00:00-05:00",
    end="2025-03-20T15:00:00-05:00",
    attendees=["alice@acmecorp.com", "bob@acmecorp.com"],
    reminders=[{"method": "popup", "minutes": 15}]
)
print(f"Event created: {cal_result['html_link']}")

Environment Variables

GOOGLE_CREDENTIALS_JSON

Google Cloud service account or OAuth2 credentials JSON (base64-encoded or file path)

required

Runs locally on your machine. No execution data is sent to AgentNode. Permissions are checked before execution. Learn how this works

Verification

high confidence80/100✔ Verified
smokeReturned valid result
+25/25
testsTests failed
0/15
importAll tools imported successfully
+15/15
installInstalled in 2.2s
+15/15
contractAll contract checks passed
+10/10
determinismConsistent output across runs (normalized)
+5/5
reliability3/3 runs passed
+10/10

Package installs and imports correctly. runtime checks passed.

✔install2.2s
✔import961ms
✔smoke412ms
✖tests1.2s

This package was executed and validated by AgentNode before listing. Install, import, and runtime checks passed.

Verified in real_auto mode

Python 3.12.3ffmpegpopplertesseractuv

Last verified 2d ago· Runner v2.0.0

Use this when you need to...

  • ›Read and send Gmail messages with attachments from agent workflows
  • ›Create Google Calendar events with attendees and reminders
  • ›Upload files to Google Drive and share with specific users
  • ›Read and update Google Sheets cells for data pipelines
  • ›Search across Gmail, Drive, and Calendar for cross-service queries

README

Version History

Capabilities

gmail_integrationgmail_accesstool
gcal_integrationgcal_accesstool
gdrive_integrationgdrive_accesstool

Permissions

◇Sandbox optionalFrom a trusted publisher — runs on the host by default. You can require isolation with sandbox.host_trust_policy.

Declared by the publisher. Checked before execution by the policy gate.

Networkunrestricted
Filesystemtemp
Code Executionnone
Data Accessconnected_accounts
User Approvalonce

Permissions are policy-checked before execution. For trusted and curated packages that run on the host, network and filesystem access are policy-checked but not OS-sandboxed. When runtime isolation is required for untrusted/community code, AgentNode uses sandbox-or-fail-closed if the required container runtime and pinned image are available. Learn more

Privacy

All tool execution happens locally on your machine. AgentNode never receives:

  • • Tool inputs or outputs
  • • Execution logs
  • • Data your agent processes

Only install events and search queries are sent to the registry.

bash
agentnode install google-workspace-pack

Environment Variables

GOOGLE_CREDENTIALS_JSONrequired

Files (3)

License

MIT

Stats

Downloads0
Installs0
Versionv1.0.0
Published3/16/2026
Channelstable
Typetoolpack
Entrypointgoogle_workspace_pack.tool

Compatibility

Frameworks

langchaincrewaigeneric

Runtime

python

Python Version

>=3.10

Trust & Security

Publisher★Trusted
SignatureNone
ProvenanceNone
Security Issues0

Publisher

A

AgentNode

@agentnode