Automatic email scanning

Connect Gmail, Outlook or any IMAP mailbox so SparkReceipt imports receipts and invoices on its own. Covers which folders are scanned, how many mailboxes each plan allows, pending approval, and IMAP troubleshooting.

ST
Written by SparkReceipt TeamUpdated Nov 18, 2026

SparkReceipt can connect to your mailbox and import receipts and invoices as they arrive, with no forwarding rules to maintain. Once a mailbox is connected, SparkReceipt checks it in the background, uses AI to decide which emails are receipts or invoices, and turns those into documents. Connect a mailbox from Settings → Scan receipts from email in the web app, or from Scan from email in the mobile app's main menu.

This is different from the forwarding address, which only processes emails you forward yourself. For that, see How to forward e-receipts from your email. To import receipts that arrived before you connected, see Email history extraction.

What it does

Each time SparkReceipt checks a connected mailbox, it:

  1. Fetches messages that arrived since the last check.
  2. Uses AI to decide whether each one is a receipt or invoice.
  3. Reads the receipt data (merchant, total, tax, currency, date and line items) from the email and its attachments.
  4. Creates a document in your account, or waits for your approval first if approval is on for that mailbox.

Which plans include it, and how many mailboxes can I connect?

Automatic email scanning is included in Pro and Elite. On the Free plan the settings page shows an upgrade prompt instead of the connect button. The forwarding address works on every plan.

How many mailboxes can I connect?

  • Pro: one connected mailbox.
  • Elite: no limit.

The limit is per user, across all the accounts you belong to. If any of your accounts is on Elite, you can connect as many mailboxes as you like. Your SparkReceipt forwarding address doesn't count toward the limit.

When you've reached the limit, the web app shows "Your plan includes 1 connected inbox. Upgrade to Elite to connect more." with an Upgrade to Elite button. The mobile app shows One inbox on your plan.

Connecting a mailbox

SparkReceipt supports three connection methods:

  • Gmail / Google Workspace, using Google sign-in.
  • Microsoft, using Microsoft sign-in. Covers Outlook.com, Hotmail, Live and Microsoft 365 mailboxes.
  • IMAP (Other email (IMAP) in the mobile app), using an email address, server and password. Works with any provider that offers IMAP.

Use Google or Microsoft sign-in when your mailbox supports it. It is more reliable than IMAP for those providers.

In the web app

  1. Open Settings and select Scan receipts from email.
  2. In the Automatic email scanning card, click Connect email.
  3. Pick a provider:
    • Gmail or Microsoft: sign in on the provider's consent screen and you're returned to SparkReceipt with the mailbox connected.
    • IMAP: fill in Email Address, IMAP Server, Port, Username and Password, then click Connect. SparkReceipt tests the connection before saving it.
  4. The mailbox appears in the table with its Status, Last synced time and Pending count. Click Settings on the row to change how that mailbox is handled.

In the mobile app

  1. Open the main menu and tap Scan from email.
  2. In the Automatic inbox scanning card, tap Connect email account.
  3. Choose a provider and finish the sign-in, or fill in the IMAP form.
  4. The mailbox appears in the list. Tap it to open its settings.

Connected mailboxes belong to you and are shared across all your linked accounts. In each mailbox's settings you can pick the Default Account its documents go to, and use AI Processing Rules to send some receipts to other accounts.

Which folders and labels are scanned?

You can't pick folders or labels yourself. What SparkReceipt reads depends on the provider:

ProviderNew mailEmail history extractionNever scanned
GmailAll mail, including archived mail, every inbox tab and every labelSameSent, Drafts, Spam, Trash
MicrosoftInbox onlyAll folders, including Archive and your own foldersSent Items, Drafts, Junk Email, Deleted Items
IMAPAll folders, including your own folders and subfoldersSameSent, Drafts, Trash/Deleted, Junk/Spam. For a Gmail account connected over IMAP, also All Mail, Starred and Important, so archived mail without a label isn't scanned

So for Gmail, labels and archived mail are included, and emails in the Trash are not. For IMAP, mail in your folders and subfolders is picked up as it arrives. For Microsoft, mail that a rule moves out of the Inbox into a subfolder isn't picked up as it arrives. If you use folders for receipts with a Microsoft mailbox, let receipts stay in the Inbox, or forward that folder's mail to your SparkReceipt forwarding address with a rule in your email client.

On an IMAP mailbox you've already connected, a folder SparkReceipt hasn't scanned before, such as one you create later, is scanned only for mail that arrives after SparkReceipt first sees the folder. Receipts already filed in that folder aren't imported by the background sync. To bring them in, use Email history extraction.

Only scanning one folder, label, or one card's receipts

There's no setting that limits scanning to one folder, one label or one payment card. Two tools get you close:

  • AI Processing Rules let you describe in plain English which emails should or shouldn't be imported, for example "Ignore emails from my personal shopping accounts". The AI reads the sender, subject and the text of the email when it decides. It doesn't read the contents of attachments at that step, so a rule like "only import receipts paid with the card ending 1234" only works when those digits appear in the email text itself.
  • Require approval before processing puts every recognised receipt in a pending list for you to approve or reject, and Sender Rules then approve or block specific senders automatically.

See AI Processing Rules and Sender Rules for how to set both up. If you want strict control over exactly which emails reach SparkReceipt, a forwarding rule in your email client is the most precise option.

Email aliases (Zoho and others)

SparkReceipt doesn't filter by the address an email was sent to. Mail sent to any alias is picked up as long as it is delivered into a folder that's scanned for that provider. There is no separate alias setting. Zoho mailboxes connect over IMAP, so mail in any scanned folder is picked up.

Reviewing emails before they are imported

With Require approval before processing on in the mailbox's Approval Settings, you review each recognised receipt before it becomes a document. It starts on for IMAP mailboxes, and for Gmail and Microsoft mailboxes when you belong to more than one account. If you belong to a single account, a new Gmail or Microsoft mailbox starts with it off. You can switch it on or off at any time.

To open the list in the web app, click Review pending emails in the mailbox's settings, or click the pending count on the mailbox row in Settings → Scan receipts from email. Each row shows the sender, subject and when it was received, with Approve and Reject buttons.

Viewing the original email

  • Web app: click the document icon (Preview email) at the start of a row. The Email Preview window shows the sender, subject, the full email and its Attachments. Click an attachment to open it. You can approve or reject from the same window, and move to the previous or next email.
  • Mobile app: tap an email in the pending list, or in Emails pending approval on the home screen. The Email preview sheet shows the sender, subject, body and attachments, with Approve and Reject buttons.

Rejected emails aren't processed. Emails blocked by a Sender Rule stay under the Auto-blocked filter, so you can recover them.

What gets imported

SparkReceipt reads both the email body and its attachments. Each email becomes one document. If an email has several invoices attached, they're all attached to that one document and only the first three attachments are read. SparkReceipt doesn't split them into separate documents. To get one document per invoice, save the attachments and upload them as separate documents, or ask the sender to send one invoice per email.

If no date can be read from the receipt, SparkReceipt uses the date the email was sent and leaves a note on the document saying so.

When new documents come in, you get an email listing them. Under each document it shows the sender and subject of the email it came from, so you can archive that email in your mailbox. The first 10 documents are listed. You can turn this email off in your notification settings, under Email backlog processed.

When your document scans run out

Each receipt email that becomes a document uses one document scan. If your monthly scans are used up and you have no credits left, new receipt emails wait instead of being imported. You get one notification saying how many are waiting.

  • To see them, open the pending emails list and choose Waiting for document scans in the status filter. You can open a waiting email, but you can't approve or reject it.
  • Waiting emails are imported automatically when your monthly scans renew, or right away when you upgrade or add credits. The newest emails come in first.
  • If your plan has ended, waiting emails are imported when you subscribe.
  • A waiting email is kept for up to 90 days. After that it isn't imported.

A document that comes from a waiting email isn't published to your accounting software automatically, even if an automation rule normally does that. It's marked Needs attention with a note explaining why. Check it, then publish it yourself. Once you change its review status, your automation rules can publish it again.

Sync schedule

New receipts usually appear within a few hours of arriving in your mailbox. IMAP mailboxes are checked about every three hours. Syncing runs in the background, so the app doesn't need to be open. Syncing picks up mail that arrives after you connect. To bring in older mail, use Email history extraction.

Privacy and security

The settings page has a short notice under How we handle your email data:

  • SparkReceipt only reads email content and metadata. It doesn't modify, send or delete any email in your mailbox.
  • Emails that aren't receipts are discarded right after classification. Only the email ID and an anonymized digest are kept, for duplicate detection.
  • Emails that are receipts are stored only while the receipt data is extracted, and no longer than 30 days after they arrive. A receipt that is waiting for document scans is kept for up to 90 days so it can still be imported.
  • Email data isn't sold, shared, used for advertising or used to train machine-learning models.
  • Access tokens and IMAP passwords are encrypted.

Pausing, disconnecting and re-authenticating

Disconnect a mailbox. Open the mailbox's settings, scroll to Disconnect Email Source, click Disconnect and confirm. Scanning stops. Documents already created from that mailbox stay in your account.

Paused (upgrade required). If your plan changes and no longer includes automatic email scanning, the mailbox is paused and no new mail is fetched. Upgrading resumes scanning and looks back a short while so mail that arrived during the pause isn't missed.

Re-auth required. Google and Microsoft sign-ins can expire, for example after you change your password. Open the mailbox's settings and click Re-authenticate.

Troubleshooting

  • Status is "Error" or "Re-auth required". Open the mailbox's settings and click Re-authenticate. For IMAP, check that your password is still valid.
  • New emails aren't appearing. Check the Last synced time, look in the pending approval list if approval is on, and check your Sender Rules. For Microsoft, check that the email is in the Inbox and not in a subfolder. For IMAP, check that the email isn't in Sent, Drafts, Trash or Junk, since those folders are never scanned.
  • A receipt went to the wrong account. Change the Default Account in the mailbox's settings, or add an AI Processing Rule for that sender. You can also move a single document from its detail view.
  • The same receipt arrived in two mailboxes. SparkReceipt spots identical emails across your mailboxes and imports them once.
  • Microsoft connected the wrong mailbox. If you're already signed in to Microsoft in your browser, Microsoft skips the sign-in page and connects that mailbox again. Connect from a private browser window and sign in as the mailbox you want. See Why does Microsoft connect the wrong mailbox or ask for admin approval?
  • Microsoft says "Need admin approval". Your organization lets only a Microsoft 365 administrator approve apps. The same article has the steps for you and for your admin.

IMAP login fails with "Authentication failed" or "invalid credentials"

Most IMAP providers don't accept your normal password. They want an app password, which some providers call an app-specific password or a secure mail key. Create one in your email provider's security settings and use it in the Password field.

The server settings are filled in for you only for Gmail, Outlook, Hotmail, Live, iCloud, Yahoo, AOL and Zoho addresses. For any other address, enter the details yourself:

  • IMAP Server: your provider's incoming (IMAP) server
  • Port: 993
  • Use SSL/TLS encryption: on (under Additional connection settings)
  • Username: usually your full email address
  • Password: the app password or mail key

AT&T Mail (att.net, sbcglobal.net, bellsouth.net and other AT&T addresses): use the IMAP server imap.mail.att.net, port 993 with SSL on, your full email address as the username and your AT&T secure mail key as the password, as listed in AT&T's email settings. SparkReceipt doesn't fill these in automatically for AT&T addresses, so check the server field before you click Connect. If it still fails, create a new secure mail key and try again.

For Outlook, Hotmail and Live addresses, use Microsoft sign-in instead of IMAP. Microsoft mailboxes often reject IMAP logins.

In the web app the error message includes the reason your provider gave. The mobile app shows a shorter "Connection failed" message, so the web app is the better place to troubleshoot a connection.