Setup & Installation
Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:
Version History
Added Security Considerations section explaining --no-sandbox requirement and safer installation alternatives
What This Skill Does
Searches Gmail for invoice and receipt emails within a specified date range, downloads any PDF attachments, and takes Puppeteer screenshots of emails that contain no PDF. Sends a summary email to a destination address with all collected files attached.
Handles both PDF-attachment invoices and HTML-only receipt emails in a single workflow, so no manual downloading or forwarding is needed regardless of how the sender formats their billing email.
When to use it
- Collecting last month's invoices for bookkeeping
- Forwarding Stripe, AWS, and SaaS receipts to a finance address
- Automating monthly invoice gathering via a cron job
- Capturing HTML-only receipt emails as screenshots
- Searching Gmail by sender to pull vendor-specific billing history
Example Workflow
Here's how your AI assistant might use this skill in practice.
User asks: Collect all invoices from last month and send them to keiri@company.com
- 1Search Gmail using invoice/receipt keywords scoped to last month's date range
- 2Iterate over results and check each email for PDF attachments
- 3Download PDF attachments directly via gogcli for emails that have them
- 4Extract HTML body and render a full-page Puppeteer screenshot for emails without PDFs
- 5Send a summary email to keiri@company.com with all PDFs and screenshots attached
Summary email delivered with all invoice PDFs and receipt screenshots as attachments
Requirements
Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.