Gmail bills and documents into records
Attachments from a watched mailbox go to OCR and become expense proposals to confirm.
Read more about Gmail bills and documents into records
A watch on a mailbox or label (for example bills@ or a Bills label) sends a Pub/Sub notification with an emailAddress and historyId; we call history.list, fetch new messages and pass PDF or image attachments to an OCR pipeline. Expenses are proposed for a person to confirm. See Gmail's push notifications guide.