Overview
Most of the documents a Business needs, such as receipts, statements, bills and invoices, already arrive by email. Asset has two ways to pick them up, so the owner doesn't have to download and upload them one by one:
| Forward to an inbox | Connect a mailbox | |
|---|---|---|
| How it works | The owner, or a rule in their mail app, forwards emails to a Business-specific address. | The owner connects their own Gmail or Outlook account, and Asset finds the documents in it. |
| Who picks the emails | The sender chooses what to forward. | Asset screens the mailbox and picks what looks like a document. |
| Setup | None on the mailbox. | One sign-in with the mail provider. |
| Best for | Occasional documents, or mail from several addresses. | An owner whose business mail all goes to one account. |
Either way, the documents become Documents with the source email, and are processed like any other upload.
Forward to an inbox
Each Business has its own address. The owner forwards an email with documents attached to it, and Asset saves them against that Business.
Asset knows which Business an email is for by the Business ID in the address. It also finds it in the subject or the body of the email. An email that carries no Business ID, or a Business that doesn't exist, can't be filed.
What Asset takes from the email
- Every attachment becomes a Document.
- The body of the email, when it is HTML, can become a Document too. This catches receipts and order confirmations that are written into the email itself.
- Images the email only links to are excluded. Only what is in the email itself is used.
Asset reads unread emails, and attachments the Business already has are skipped as duplicates.
Connect a mailbox
The owner connects their own Gmail or Microsoft (Outlook) account once. After that, Asset finds the accounting documents in their mail on its own.
Connecting
- The owner starts the connection and is sent to a sign-in page for their mail provider.
- They sign in and grant access.
- Asset links the mailbox to the Business and starts its first sync.
The connection endpoints are internal to Asset and aren't part of the public API, so there is no call for you to make. A mailbox can be connected to more than one Business.
What Asset reads
The first sync reads mail back to the Business' entries start date, so older documents are picked up too. After that, Asset syncs shortly after new mail arrives.
For a connected mailbox, Asset uses the sender, subject, message preview and attachment list to identify accounting documents such as receipts, invoices, bills and statements. It downloads selected supported attachments and can capture an accounting document contained in the message body. Asset skips duplicates and excludes Drafts, Junk and Trash.
Attachments whose type isn't supported, or that are too large, are not imported.
Disconnecting
Disconnecting stops the sync. Documents already imported are kept. If no other Business uses the mailbox, Asset's access to it is revoked as well.
What happens to each document
Each document goes through the same processing as an upload. Asset works out what it is and handles it accordingly:
| Document | What Asset does |
|---|---|
| Check image | Reads it and records the check. See Checks. |
| Receipt | Reads it and tries to match it to a Transaction. |
| Bank statement | Reads it and checks the account's Transactions. |
| Payroll reports | Reads it and adds the necessary payroll adjustments. |
| Invoices | Reads it and creates the invoice and customer if needed. |
| Bills | Reads it and creates the bill and vendor if needed. |
Documents from a connected mailbox are processed sooner than documents forwarded to the inbox. To have Asset process a document straight away, upload it with Upload Documents for a Business, or connect the mailbox. See Bill Documents and Invoice Documents.
The result is on the Document. Follow its status, and use the DOCUMENT_PROCESSED webhook to know when it finishes.
Which method should be use?d
- Connect a mailbox when the owner's business mail goes to one account. Asset does the sorting, it covers bills and invoices, and the owner does nothing after the first sign-in.
- Forward to an inbox when the owner doesn't want to give access to a whole mailbox, or only a few emails matter. The owner decides exactly what is shared.
They work together. A file that arrives both ways is saved once, because identical files are skipped as duplicates.
Questions? Reach out via our Contact form.