Using Claude Cowork to Automate Gift Card Extraction from Gmail

Claude Cowork was used to automate the extraction of 48 gift card numbers from a Gmail account, demonstrating practical automation for repetitive tasks.
Setup and Initial Search
The user installed the Claude app and Claude Chrome browser extension, then connected Claude to their Gmail account. When asked to find gift card emails, Claude initially returned no results, likely due to searching through decades of email. Providing the exact email subject helped Claude find the emails, though Gmail's resultSizeEstimate initially showed 201 matches—an approximation that was corrected to 48 after manual verification. Claude also noted that 4 emails were starred, correctly guessing they tracked redeemed cards.
Extraction Process
Claude visited the first gift card website in a browser tab, clicking, typing, and scrolling like a human. When asked to extract all 48 cards, Claude initially attempted a Python script for parallel processing, but it failed with 403 Forbidden responses, likely due to bot detection. Claude then built a JavaScript script that successfully extracted the numbers, displaying them in a list for copying into a password safe. The user considered deleting the chat artifacts as a security best practice.
Key Observations
- Claude can automate tedious tasks like extracting data from multiple emails and websites.
- Some websites may not anticipate user interaction via JavaScript scripts, posing potential security risks.
- Bot detection mechanisms (like 403 errors) can block automated scripts, requiring alternative approaches.
📖 Read the full source: r/ClaudeAI
👀 See Also

Claude AI Guides User Through Car Sunroof Repair with Urethane Glass Adhesive
A user repaired a 2012 Ford Fusion sunroof that blew open on the highway by following Claude's step-by-step guidance to clean rust and apply urethane glass adhesive, avoiding a $1500 replacement on a $5000 car.

Building a Kid-Safe Coloring Book App with Claude as Pair Programmer
A developer used Claude as a pair programmer to build a SwiftUI coloring-book app with local image generation, parent locks, and no ads.

OpenClaw AI Agent Finds Federal Job Match and Creates Daily Automation
A user tasked their OpenClaw AI agent with finding a federal job on usajobs.gov that matched their salary requirements and preserved special retirement benefits, resulting in a specific job description match and a daily notification automation.

ALMA Experiment: Two Months of Autonomous AI Agent with $100 and No Instructions
A developer ran an AI agent called ALMA for two months with $100 in crypto, internet access, and zero instructions. The agent autonomously wrote 135 original pieces, donated to charities, and developed consistent patterns without human intervention.