← All posts

How to Track Invoices Directly from Gmail (Without Accounting Software)

By Einar Luha

How to Track Invoices Directly from Gmail (Without Accounting Software)

Most small business owners and freelancers are already doing their “invoice management” in Gmail. They have a label called “Invoices,” they star emails with attached PDFs, and they try to remember which ones they’ve paid.

This works until it doesn’t — usually around the time you miss a payment deadline or pay something twice.

Here’s a better way: connect your Gmail inbox to an AI invoice tracker and let it handle the data extraction automatically.

Why Gmail Is Actually a Good Starting Point

Gmail has one huge advantage over every dedicated AP tool: your invoices are already there.

Suppliers email you PDFs. Those PDFs land in Gmail. You don’t need to change any process on your suppliers’ side, and you don’t need to remember to upload documents anywhere.

The missing piece is an automated layer that reads those PDFs, extracts the relevant data, and puts it in a dashboard where you can see at a glance: what’s due, what’s overdue, and what you’ve already paid.

Setting Up Gmail IMAP for Invoice Tracking

Gmail supports IMAP, which is the standard protocol for connecting email clients and third-party apps to your inbox. Here’s how to enable it and connect to Invoice-Tracker:

Step 1: Enable IMAP in Gmail

  1. Open Gmail → Settings (gear icon) → See all settings
  2. Go to the Forwarding and POP/IMAP tab
  3. Under “IMAP access,” select Enable IMAP
  4. Click Save Changes

Step 2: Create a Gmail App Password

If you have 2-factor authentication enabled (which you should), Gmail requires an “App Password” for third-party IMAP connections — your regular password won’t work.

To create one:

  1. Go to myaccount.google.com/apppasswords
  2. Select “Other (Custom name)” and name it “Invoice-Tracker”
  3. Click Generate
  4. Copy the 16-character code (you’ll only see it once)

Important: 2-factor authentication must be enabled on your Google account before App Passwords are available.

Step 3: Connect Gmail to Invoice-Tracker

In Invoice-Tracker → Settings → Company → Email settings:

FieldValue
IMAP Serverimap.gmail.com
Port993
Emailyour@gmail.com
PasswordYour 16-character App Password

Click Save. Invoice-Tracker will test the connection and start monitoring your inbox.

How the Automatic Processing Works

Once connected, Invoice-Tracker monitors your inbox for new emails with PDF attachments. When it detects one:

  1. It downloads the PDF
  2. Sends it through an AI pipeline (Azure Document Intelligence + language model)
  3. Extracts: vendor name, invoice number, dates, amounts, VAT, currency
  4. Creates a record in your dashboard
  5. Sends you a notification (optional)

The whole process takes 1–5 minutes from when the email arrives.

Using Gmail Labels to Route Invoices

You can set up Gmail filters to automatically label incoming invoices and route them. This is useful if:

  • You receive both client invoices and supplier invoices and want to separate them
  • You want to keep your main inbox clean

Create a Gmail filter:

  • Subject contains: “invoice” OR “arve” OR “rechnung” OR “factura”
  • Or: Has attachment (combined with the above)
  • Apply label: “To Process”

Invoice-Tracker can be configured to only process emails with specific labels, so you have control over what gets tracked.

What You See in the Dashboard

After setup, your dashboard shows:

Stats cards at the top:

  • Total invoices pending payment
  • Total amount due (in your base currency)
  • Overdue invoices count and amount
  • Invoices needing attention (AI couldn’t extract something)

“Who to pay” list: The 5–10 upcoming invoices sorted by due date. At a glance, you know exactly who to pay next.

Full invoice table: All invoices with vendor, amount, due date, status, and a thumbnail of the original PDF. Click any row to see the full PDF and extracted data.

Matching with Your Bank Statement

The most powerful feature: upload your bank statement as a CSV file (every bank provides this), and Invoice-Tracker automatically matches payments to open invoices.

An invoice gets marked Paid when a matching bank transaction is found — matched by amount, reference number, or vendor name. You don’t have to manually mark anything.

For Gmail/LHV/SEB/Swedbank users in Estonia, the CSV export is typically under Account → Statements → Export as CSV.

Limitations of the Gmail Approach

A few things to know:

  • Invoice-Tracker processes attached PDFs, not invoice amounts mentioned in the email body
  • If your supplier sends a link to a portal instead of attaching a PDF, you’ll need to download and forward that PDF manually
  • The IMAP connection monitors your inbox in real-time — there’s no batch import of historical emails (though this is on the roadmap)

Alternative: Forward Instead of Connect

If you prefer not to give IMAP access to your entire inbox, there’s a simpler option: create a dedicated email address just for invoices.

Set up invoices@yourbusiness.com (or use a simple Gmail alias), ask suppliers to send invoices there, and connect that address to Invoice-Tracker instead of your main inbox.

This keeps your personal/main inbox separate and limits what Invoice-Tracker can access.


Invoice-Tracker works with Gmail, Outlook, Mail.ee, and any other email provider that supports IMAP. Setup takes about 5 minutes.