Extract email attachments to Box and Docparser

ProductivityDocument/FileData Parser

What it does

When a new email arrives in Gmail with attachments, this automation downloads each file and uploads it to Box. Docparser then processes the document to extract structured data automatically.

Who it's for

Operations teams who need to automatically extract data from emailed documents without manual file handling.

How teams use this

Extract invoice data from email

Someone emails an invoice as a PDF attachment. The automation uploads it to Box and Docparser extracts line items, totals, and vendor details into structured fields for accounting systems.

Process receipts for expense reports

Route emailed receipts to a dedicated Box folder and parse them with Docparser to capture amount, date, and merchant. Finance teams review the extracted data before reimbursement.

Handle scanned documents with optical recognition

Add optical character recognition in Docparser to process scanned or image-based attachments. This ensures handwritten or low-quality documents are converted to text before data extraction.

How it works

  1. Monitor for new email. Watch for incoming emails in Gmail. The automation only proceeds when an email contains one or more attachments.
  2. Download each attachment. For every file attached to the email, download it from Gmail so it can be moved to Box for processing and storage.
  3. Upload file to Box. Send each downloaded attachment to Box using the file contents. The file is now stored in Box and ready for the next step.
  4. Extract data with Docparser. Fetch the file from Box and send it to Docparser to parse and extract structured data from the document automatically.