apps/website/src/app/docs/content/connect-gmail.mdx
Connect your Gmail account to automatically capture receipts and invoices from your email. No manual forwarding required.
Once connected, Midday:
The scanning happens automatically on a regular schedule.
You'll be redirected back to Midday once connected.
The AI looks for emails that are likely receipts or invoices:
The AI filters out non-receipt emails:
The AI is trained to distinguish between "someone sent me a receipt" and "someone sent me an email."
Midday has read-only access to your Gmail:
| Permission | What it allows | What we do |
|---|---|---|
| Read emails | View email content | Scan for receipt-like patterns |
| Read attachments | View email attachments | Extract PDFs and images |
We don't store the full content of non-receipt emails.
Midday scans your inbox periodically for new receipts. You can trigger a manual scan:
When first connected, Midday looks back at recent emails (typically the last 30-90 days) to capture existing receipts. After that, it monitors for new emails.
If some receipts aren't being captured:
If non-receipt emails are appearing:
Duplicates can occur if you:
Midday attempts to deduplicate, but delete any that slip through.
If the connection stops working:
Google may require re-authorization periodically for security.
To stop automatic capture:
You can also revoke access from your Google Account settings:
Receipts already in your Midday inbox remain; no new receipts will sync.