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

Building Design Consultancy Replaces Wix with AI Edge Agent
A building design consultancy built a custom AI agent to handle customer inquiries, replacing a $40/month Wix site. The system uses a split architecture due to Netlify's 10s serverless timeout and employs DeepSeek-R3 for responses.

The Left-Wing Case for AI: Disability, Chronic Illness, and Class
Sean Goedecke argues that LLMs serve left-wing values by aiding disabled people, helping chronic illness patients navigate medical gatekeeping, and enabling class code-switching to bureaucratic language.

User Successfully Uses Claude AI to Draft Legal Mitigation Statement
A Reddit user reports using Claude AI to help win a traffic offense case by downloading offense details and prompting Claude to write a mitigation statement, which impressed the judge.

Architecture for a Daily Intelligence Briefing System Built with Claude
A developer built a personalized daily briefing system using Claude API that ingests RSS feeds, scores articles for relevance, triages them, and delivers analysis via email. The pipeline processes ~200 articles daily, filters to 5-8 for analysis, and costs under $5/month.