Capture a bill from email
Well reads an invoice PDF from a Gmail attachment and forwards it to Melio's email-in address with the sender and date, so the bill arrives ready for payment.
Gmail attachments become Melio bills with a one-step path from inbox to your scheduling step; credit-note matching happens inside Well before delivery.
The Gmail integration turns your inbox into an automated invoice capture flow.
The Melio connection delivers extracted bills into Melio through its Pay Bills email address.
Suppliers email invoices; Melio handles the payment leg with scheduled vendor disbursement on US rails.
Connecting Gmail to Melio through Well reads each emailed invoice, extracts vendor and amount, forwards the PDF to Melio's @invoicesmelio. com inbox at the configured cadence. Melio's Smart Bill Capture creates the bill draft for your team to schedule. Gmail pushes new message events to Well via Pub/Sub; Melio's Smart Bill Capture creates the bill from the PDF Well forwards, ready for you to schedule the payment.
Well reads an invoice PDF from a Gmail attachment and forwards it to Melio's email-in address with the sender and date, so the bill arrives ready for payment.
The sender, subject, and date from Gmail ride on the document sent to Melio, so each payment traces to its message.
The details Well reads reach Melio on the forwarded document, so amounts are not re-typed from the inbox.
When the same invoice is forwarded twice in Gmail, Well keeps one before sending to Melio, so payments do not duplicate.
Pulls from your Gmail inbox. Picks up emails matching has:attachment filename:pdf and runs the document through extraction.
Pulls from your Gmail inbox. Well's AI extracts the bill from the attached PDF and matches the vendor against your existing records.
Pulls from your Gmail inbox. Receipts, invoices, statements: any PDF attachment is read and captured into your records.
Pulls from your Gmail inbox. Well prepares a new vendor record from the email and document headers for your confirmation.
Pulls from your Gmail inbox. The vendor is matched against your existing company records.
Pulls from your Gmail inbox. Well picks up any received email with a PDF attachment; forwarded headers are recovered automatically.
Driven by emailed invoices, receipts, and notifications. The forwarded PDF is stored on the bill in your Melio inbox.
Driven by emailed invoices, receipts, and notifications. The created bill waits in your Melio Bills Inbox until you pick a pay date, choose a funding source (bank transfer or card), and set how the vendor gets paid (ACH deposit or mailed check). Well never sets a pay date, chooses funding, or sends the payment.
Driven by emailed invoices, receipts, and notifications. Well forwards the PDF to your @invoicesmelio.com address; Melio's Smart Bill Capture lifts the vendor, amount, and due date into a Bills Inbox entry that waits for you to schedule a payment date and funding method.
4 fields flow from Gmail into Melio.
| Gmail field | Label | Melio field | Label | |
|---|---|---|---|---|
| extracted.invoice_number | Invoice number | bill_number | Bill number | |
| extracted.due_date | Due date | due_date | Due date | |
| extracted.total | Total | amount | Amount | |
| extracted.currency | Currency | currency | Currency |
Click Connect with Google; Google asks which mailbox to scope and returns a refresh token and authorise read access to invoice and receipt PDFs from email attachments, plus the sender, subject, and date headers. Access tokens are exchanged and refreshed automatically before they expire, and the grant is revocable from your Google Workspace.
Well discovers the Gmail attachments matching your invoice pattern (invoice and receipt PDFs from email attachments, plus the sender, subject, and date headers) and the the Melio Bills Inbox awaiting payment scheduling. Tune the parsing prompt once on the first ten records; Well saves the mapping and applies it to every subsequent attachment above 85% confidence.
In Melio, open Settings > Integrations and generate an API token with payment-write scope. Paste the key into Well; Melio's discovery endpoints are reached over TLS 1.3 and the secret is never echoed in the UI.
Well calls Gmail with an OAuth 2.0 token scoped to read-only access. Gmail's consent screen lists the scopes before you approve; access tokens are exchanged and refreshed automatically before they expire. Well's storage region is configured per workspace regardless of where Gmail and Melio host theirs.
Read Gmail records
Scoped to invoice and receipt PDFs from email attachments, plus the sender, subject, and date headers. No access to anything else in your Gmail account.
Deliver documents to your Melio inbox
Well forwards the extracted document to your Melio email-in address; Melio reads bills via email-in at @invoicesmelio.com, with vendor, amount, and due date populated by Smart Bill Capture from it and you review and post. No write credential to Melio is requested.
Modify or delete Gmail records
Not granted. Gmail is read-only on Well's side; the source of truth never moves.
Read other workspaces' data
Encryption keys are per-workspace; another tenant's records are inaccessible by design.
Connect both sides. Gmail invoices arrive in Melio queued for vendor payment.
Other ways to connect Gmail or Melio through Well.

Gmail
See the Gmail connector

Melio
See the Melio connector


Gmail → Pennylane
Capture invoices from Gmail, extract line items with AI, and…


Gmail → QuickBooks
Capture Gmail vendor invoices, extract lines inside Well, fo…


Square → Melio
Route Square purchase activity into Melio for vendor payment…

Outlook
See the Outlook connector

Bill.com
See the Bill.com connector

PayPal
See the PayPal connector