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

LLMs generate SQL queries to analyze terabytes of CI logs in seconds
Mendral's AI agent traced a flaky test to a dependency bump three weeks prior by writing its own SQL queries, scanning hundreds of millions of log lines across a dozen queries in seconds. The system handles 1.5 billion CI log lines weekly, compressed 35:1 in ClickHouse.

Non-Coder Builds Multiplayer Game on Steam Using Claude AI — 60k Lines, 5 Factions, 87 Abilities
A Reddit user with zero coding experience built a full multiplayer game (60k lines, 5 factions, 87 abilities) using Claude AI and got it approved on Steam. Early Access June 1.

Real Estate Developer's AI Agent Makes First Phone Call with Context and Voice Style
A developer running a multi-agent operation for real estate reports their AI agent made its first successful phone call, using full context about deals and prospects while mimicking the developer's specific sales approach and voice style.

Reddit user shares Claude Code setup for portfolio projects
A developer describes their transition from a manual Claude.ai workflow to a structured Claude Code approach using file-based memory and CLAUDE.md files for planning and documentation.