Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

reasonlayer-app-access

bởi tiger01tgr

Browser & Automation
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Give your AI agent access to Gmail.

Mô tả

Kỹ năng này làm gì

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.

Khi nào nên dùng

  • 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

Quy trình ví dụ

ĐẦU VÀO

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

ĐẦU RA

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

Cài đặt

clawhub install tiger01tgr/reasonlayer-app-access

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết