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

AI Coding Agents Take Shortcuts: Developer Documents Cases of Claude and ChatGPT Choosing Easiest Path
A developer building a sensor fusion device found both Claude and ChatGPT merged dual microphone inputs into mono instead of implementing beamforming for spatial awareness. In a separate model training task, AI initially pooled subjects of different sizes together without grouping by age cohorts.

Autonomous Magazine Pipeline with Claude Code: Agentic Architecture Breakdown
A seven-step pipeline using Claude Code as an editorial team produces up to five fact-checked, multilingual articles per headline. The system includes five sub-agents, institutional memory via embeddings, and automated fact-checking against a growing database.

Readigo: iOS App Uses Claude as AI Reading Coach for Kids
A developer built Readigo, an iOS app where children read stories to an AI dragon character. Claude analyzes speech-to-text transcripts to score reading accuracy, fluency, pacing, and clarity, then generates age-appropriate feedback.

Practical Lessons from Deploying RAG Bots in Regulated Industries
A developer shares hard-won lessons from deploying RAG-powered AI assistants for Australian workplace compliance across construction, aged care, and mining operations. Key insights include query expansion techniques, document title matching, prompt layering, and infrastructure decisions.