Google Workspace Pack
★Trustedv1.0.0MIT✔Verified88by AgentNode · published 22 days 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.
Quick Start
agentnode install google-workspace-packUsage
From packagefrom 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_JSONGoogle Cloud service account or OAuth2 credentials JSON (base64-encoded or file path)
Verification
Package installs and imports correctly. runtime checks passed.
This package was executed and validated by AgentNode before listing. Install, import, and runtime checks passed.
Last verified 18d 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
Google Workspace Pack
Access Gmail, Google Calendar, Drive, Sheets, and Docs. A unified interface to Google Workspace services for agent-driven productivity workflows.
Quick Start
agentnode install google-workspace-pack
from google_workspace_pack.tool import run
# Read latest emails
result = run(
action="gmail_access",
operation="list_messages",
query="is:unread",
limit=10
)
for msg in result["messages"]:
print(f"{msg['from']}: {msg['subject']}")
Usage
Send an Email
run(
action="gmail_access",
operation="send",
to=["recipient@example.com"],
subject="Weekly Report",
body_text="Please find this week's metrics attached.",
attachments=["/tmp/report.pdf"]
)
Create a Calendar Event
run(
action="gcal_access",
operation="create_event",
calendar_id="primary",
summary="Team Standup",
start="2025-03-20T09:00:00Z",
end="2025-03-20T09:15:00Z",
attendees=["alice@example.com"]
)
Upload to Google Drive
run(
action="gdrive_access",
operation="upload_file",
file_path="/tmp/data.csv",
folder_id="folder_id_here"
)
API Reference
| Capability | Description |
|---|---|
gmail_access | Send, read, search, and label Gmail messages |
gcal_access | Create, update, list, and delete Calendar events |
gdrive_access | Upload, download, share files; read/write Sheets |
Requirements
| Variable | Required | Description |
|---|---|---|
GOOGLE_CREDENTIALS_JSON | Yes | Google service account or OAuth credentials JSON |
License
MIT
Version History
Capabilities
Permissions
This package declares the following access levels. Review before installing.
agentnode install google-workspace-packEnvironment Variables
GOOGLE_CREDENTIALS_JSONrequiredFiles (3)
License
MITStats
Compatibility
Frameworks
Runtime
pythonPython Version
>=3.10Trust & Security
Publisher
AgentNode
@agentnode