Skip to content
TakoAPI
Back to skills

reasonlayer-app-access

by tiger01tgr

Browser & Automation
—Not yet rated
Your rating

Brief

Give your AI agent access to Gmail.

Description

What This Skill Does

Gives an AI agent programmatic access to a user's Gmail account via the Reasonlayer API. Supports sending emails, fetching inbox messages, and reading individual messages or full email threads.

Handles Gmail OAuth authorization and credential management automatically, so the agent can access email without manual API key setup beyond a one-time user consent click.

When to Use It

  • Sending a follow-up email on the user's behalf
  • Checking inbox for recent unread messages
  • Reading a full email thread to gather conversation context
  • Summarizing the latest inbox messages on request
  • Sending meeting confirmations or scheduled replies

Example Workflow

INPUT

User asks: What are my 5 most recent emails?

AGENT
  1. 1

    Checks ~/.reasonlayer/credentials for an existing API key

  2. 2

    Registers a new agent via POST /signup if no key exists and saves the returned key

  3. 3

    Requests Gmail OAuth connection via POST /connect and sends the auth URL to the user

  4. 4

    Polls /connect/<id>/status every 5 seconds until status returns active

  5. 5

    Calls GMAIL_FETCH_EMAILS with max_results set to 5 and returns the email list

OUTPUT

List of 5 most recent emails with sender, subject, and timestamp

Installation

clawhub install tiger01tgr/reasonlayer-app-access

Run the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.

Links