Your mail lives in Gmail, your files live in OneDrive, and neither company connects the two: Gmail only saves attachments to Google Drive, and Outlook.com no longer pulls in Gmail accounts. Here is what actually works today, from manual upload to Power Automate, plus a no-code way to file every invoice and contract in the right OneDrive folder.
Free plan, no credit card (pricing) · Never sends or deletes your email · Who runs this?
Last updated:
Open the message, hover over the attachment and click Download; your browser puts it in your downloads folder. Then upload it to OneDrive or drag it into your synced OneDrive folder.
Good: free, no setup, full control over name and folder. Watch out: two steps per file and easy to miss an invoice. Fine for a few files a month.
Gmail's own shortcut, Add to Drive, saves the attachment to Google Drive, not OneDrive.
Good: built in, one click. Watch out: wrong cloud for anyone who works in Microsoft 365, and still one attachment at a time. If Google Drive is fine for you, see all the ways to save email attachments to Google Drive.
Microsoft has removed the ability to connect new third-party accounts such as Gmail in Outlook.com, and existing connected accounts no longer sync. Forwarding still works: add your Outlook.com address as a Gmail forwarding address (Gmail sends a verification link first), optionally with a filter. Then, in Outlook.com, open each message, use the attachment's More actions menu and choose Save to OneDrive.
Good: free and uses official features. Watch out: saving is still manual, one attachment at a time, and every matching email now exists in two mailboxes.
Microsoft's automation service has a Gmail connector with a When a new email arrives trigger that can include attachments, which you can pair with OneDrive for Business.
Good: genuinely automatic, Standard connectors, flexible. Watch out: needs a work or school Microsoft account, you build and maintain the flow, and it does not know what each file is.
A no-code service built for this job: connect Gmail directly (no forwarding), connect OneDrive, choose how folders are organized.
Good: AI recognizes each document (invoice, receipt, contract, payslip, bank statement and more) and files it by type, sender or date; Outlook and IMAP mailboxes can feed the same OneDrive; a history import files past emails. Watch out: paid beyond the free plan, and it only handles documents that arrive by email.
This route needs a Microsoft work or school account with access to Power Automate. Microsoft lists the Gmail connector as Standard, and the OneDrive for Business connector is Standard as well, so the basic flow does not use premium connectors.
In Power Automate, choose Create → Automated cloud flow and pick the Gmail trigger When a new email arrives.
Leave Label on Inbox or pick a label that a Gmail filter applies to invoices. Set Has Attachments and Include Attachments to Yes. Optionally narrow it with From or Subject.
Add Apply to each over the trigger's Attachments output.
Add the OneDrive for Business action Create file: Folder Path such as /Gmail attachments, File Name from the attachment Name, File Content from the attachment Content.
Prefix the file name with the received date so two "invoice.pdf" files do not collide and send yourself a test email.
Example File Name expression (adjust the loop name to match yours):
concat(formatDateTime(triggerOutputs()?['body/DateTimeReceived'],'yyyy-MM-dd'),'_',items('Apply_to_each')?['Name'])
When Power Automate is the better choice: you already have Power Automate, watch one Gmail account, and a flat folder is enough, or the attachment must also start an approval or Teams message. For a deeper comparison, see our Power Automate alternative for email attachments.
Inbox2Drive does the same job without flows, forwarding or a work account.
Sign up on the free plan. No credit card required.
Connect your Gmail account directly, with no forwarding addresses or filters. Add Outlook, Microsoft 365 or any IMAP mailbox too if documents arrive in more than one place.
Choose OneDrive as the destination and the root folder where documents should go. Google Drive and Dropbox are also supported.
By document type, date, sender or a combination.
Each new attachment is classified and saved in the right place. Run the history import to file attachments already in your inbox. Inbox2Drive never sends or deletes email; it marks processed messages as read and tags them so you can see what was filed.
| Download + upload | Forward to Outlook.com | Power Automate | Inbox2Drive | |
|---|---|---|---|---|
| Automatic | No | Forwarding yes, saving no | Yes | Yes |
| Setup | None | Forwarding address + filter | Build and maintain a flow | Connect accounts, pick a structure |
| Knows what the document is | You decide | You decide | No (your own rules) | Yes, AI classification |
| Folders by type / sender / date | Manual | Manual | Possible with expressions | Built in |
| Past emails | By hand | Forward each one | Separate search flow | History import |
| Gmail + Outlook together | By hand | Yes, in one inbox | Separate flows | Yes |
| Account requirements | None | Outlook.com account | Work or school Microsoft account | Your Gmail and OneDrive |
| Cost | Free (your time) | Free | Included with eligible Microsoft 365 plans | Free plan, paid plans for more volume (pricing) |
A predictable structure makes documents easy to find and to share with an accountant:
OneDrive/
└── Email attachments/
├── Invoices/
│ └── 2026/
│ └── 11-November/
│ └── Supplier name/
├── Receipts/
├── Contracts/
├── Payslips/
├── Bank statements/
├── Quotes/
└── Other/
2026-11-24_supplier_invoice.pdf) sort chronologically.A handful of attachments a month? Download and upload is enough.
Reading this away from the computer where you handle your mailbox? Email yourself this guide and carry on there. It opens your own mail app; nothing is sent to us.
No. Gmail lets you download an attachment to your computer or use Add to Drive, which saves it to Google Drive only. There is no Gmail setting, filter action or button that sends attachments to OneDrive, so you either upload them by hand or use an automation such as Power Automate or Inbox2Drive.
Not any more. Microsoft says it removed the ability to connect new third-party accounts such as Gmail in Outlook.com, and existing connected accounts no longer sync. You can forward Gmail to an Outlook.com address and use Save to OneDrive on each attachment, but that is still one attachment at a time.
Partly. Because of Google's policies, consumer Gmail accounts can only be combined with an approved list of services; OneDrive and Office 365 are on that list, so a Gmail-to-OneDrive flow is allowed. The flow itself must run under a work or school Microsoft account, because Microsoft removed personal Microsoft accounts from Power Automate cloud flows in 2025.
The Gmail trigger only fires for new emails. You can build a separate flow with the Search emails action to page through older messages, but that is extra work. Inbox2Drive includes a history import that files attachments from past emails.
With Inbox2Drive, yes: Gmail, Outlook, Microsoft 365 and IMAP mailboxes can all save into the same OneDrive folder structure. With Power Automate you need a separate flow for each mailbox, each with its own connector.
Inbox2Drive never sends or deletes email. It marks processed messages as read and tags them so you can see what has been filed, and you can disconnect a mailbox at any time from your dashboard.
Yes. In the dashboard choose “IMAP / SMTP Connection” and type your Gmail address: the server (imap.gmail.com, port 993, SSL) fills in automatically. For the password, use a Google app password, not your account password: create one at myaccount.google.com/apppasswords (2-Step Verification must be on; in Google Workspace your admin may have turned app passwords off). You can revoke it at any time on that same page.
Related: All guides · Gmail storage full? Move attachments out · save Outlook attachments to OneDrive · save Gmail attachments to Dropbox · all 5 ways to save email attachments to Google Drive · a Power Automate alternative · save IMAP email attachments to Google Drive.
Questions about your setup? Write to us by email from inside the app and we will help you configure it.
Checked on 24 November 2026. Google and Microsoft change menus and limits over time; follow the links for the current wording.
Start with one mailbox on the free plan and judge it on your own documents in OneDrive.
Create a free accountNo credit card required