email-receipt-scanning

Scan Gmail for receipts and invoices and deduplicate results.

6|Updated Feb 1, 2026
One-click install
npx skills add https://github.com/peerjakobsen/smartspender --skill email-receipt-scanning
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: email-receipt-scanning
Source: https://github.com/peerjakobsen/smartspender/tree/main/skills/email-receipt-scanning
Command: npx skills add https://github.com/peerjakobsen/smartspender --skill email-receipt-scanning

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Scans a user's Gmail inbox to locate receipts and invoices, deduplicates results, and formats data for downstream processing in the smartspender workflow.

Core Features & Use Cases

  • Gmail search queries for receipts and invoices in multiple languages and with attachments
  • Danish sender pattern mapping to vendor IDs for fast recognition
  • Content-type aware extraction: PDF invoices, inline HTML receipts, or both
  • Deduplication logic against existing records to avoid reprocessing
  • Supports incremental or date-bound scans using last_scan or days argument

Quick Start

Configure Gmail MCP in your environment and run the receipt email workflow to begin scanning your inbox.

Frequently Asked Questions about email-receipt-scanning

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract invoices and receipts from Gmail?

You can extract receipts and invoices from Gmail by running search queries for multiple languages and attachments, then processing PDFs, inline HTML receipts, or mixed content with vendor detection and deduplication into structured data.

Does Gmail receipt scanning support PDF attachments and inline HTML emails?

Yes, Gmail receipt scanning supports both PDF attachments and inline HTML receipts. It uses content-type aware extraction to handle mixed content, ensuring structured data is captured regardless of the email format.

How do I prevent duplicate receipts when scanning my Gmail inbox?

To prevent duplicate receipts when scanning your Gmail inbox, the system applies deduplication logic against existing records. This ensures previously processed receipts and invoices are not reprocessed during incremental or date-bound scans.

Do I need a Gmail MCP environment to scan my inbox for receipts?

Yes, you need a configured Gmail MCP environment with tools like gmail_search, gmail_get_message, and gmail_get_attachment to scan your inbox for receipts and invoices. This setup enables the email processing workflow to function correctly.

Can I run incremental date-bound scans for Gmail invoices?

Yes, you can run incremental or date-bound scans for Gmail invoices by using the last_scan or days arguments. This limits the email processing scope to a specific timeframe, avoiding unnecessary reprocessing of historical inbox data.