0
0
# Install this skill:
npx skills add protosschiefbot-cpu/openair-workspace --skill "gmail"

Install specific skill from multi-skill repository

# Description

Send emails, check inbox, and manage Gmail via the browser tool. Use when the user asks to "send an email", "check my mail", or "draft a message".

# SKILL.md


name: gmail
description: Send emails, check inbox, and manage Gmail via the browser tool. Use when the user asks to "send an email", "check my mail", or "draft a message".


Gmail Skill

This skill allows Clawdbot to interact with Gmail using browser automation.

1. Sending an Email

Direct Link Strategy (Fastest):
To avoid navigating the inbox UI, open the "Compose" view directly.

  1. Open Compose Window:
    Call browser.open with: https://mail.google.com/mail/u/0/#inbox?compose=new
    Use profile="clawd" unless instructed otherwise.

  2. Snapshot & Fill:
    Call browser.snapshot to get accessibility references.
    Look for these fields (names may vary slightly):

    • combobox "To recipients" (or similar)
    • textbox "Subject"
    • textbox "Message Body"
  3. Action Sequence:
    Use browser.act to fill the fields.

    • To: type email address -> press Enter.
    • Subject: type subject text.
    • Body: type body text.
    • Send: click the "Send" button (usually button "Send (Ctrl-Enter)").

Pro Tip: If act:fill fails, use act:type for each field individually.

2. Checking Email

  1. Navigate: browser.open -> https://mail.google.com/mail/u/0/#inbox
  2. Snapshot: Look for row elements in the grid or table.
  3. Read: The snapshot usually contains the sender, subject, and snippet in the accessibility tree labels.

3. Troubleshooting

  • "Account chooser": If the browser isn't logged in, you will see a login page. Ask the user to log in via the VNC/Canvas view or interactive mode first.
  • "Chrome Extension Error": If profile="chrome" fails, switch to profile="clawd" (the internal browser).

# Supported AI Coding Agents

This skill is compatible with the SKILL.md standard and works with all major AI coding agents:

Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.