Gmail → OneDrive

How to save Gmail attachments to OneDrive automatically

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:

Your options, honestly

1. Download from Gmail, upload to OneDrive

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.

2. Gmail's "Add to Drive" (Google Drive only)

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.

3. Forward Gmail to Outlook.com, then Save to OneDrive

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.

4. Power Automate with the Gmail connector

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.

5. Inbox2Drive

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.

Power Automate: save Gmail attachments to OneDrive, step by step

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.

  1. Create an automated cloud flow

    In Power Automate, choose Create → Automated cloud flow and pick the Gmail trigger When a new email arrives.

  2. Configure the trigger

    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.

  3. Loop through the attachments

    Add Apply to each over the trigger's Attachments output.

  4. Create the file in OneDrive

    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.

  5. Make names unique and test

    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'])

Account rules you need to know

Limits you will meet

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.

The no-code option: Gmail to OneDrive with Inbox2Drive

Inbox2Drive does the same job without flows, forwarding or a work account.

  1. Create a free account

    Sign up on the free plan. No credit card required.

  2. Connect Gmail

    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.

  3. Connect OneDrive

    Choose OneDrive as the destination and the root folder where documents should go. Google Drive and Dropbox are also supported.

  4. Pick a folder structure

    By document type, date, sender or a combination.

  5. Let it run, and import your history

    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.

Comparison

Download + uploadForward to Outlook.comPower AutomateInbox2Drive
AutomaticNoForwarding yes, saving noYesYes
SetupNoneForwarding address + filterBuild and maintain a flowConnect accounts, pick a structure
Knows what the document isYou decideYou decideNo (your own rules)Yes, AI classification
Folders by type / sender / dateManualManualPossible with expressionsBuilt in
Past emailsBy handForward each oneSeparate search flowHistory import
Gmail + Outlook togetherBy handYes, in one inboxSeparate flowsYes
Account requirementsNoneOutlook.com accountWork or school Microsoft accountYour Gmail and OneDrive
CostFree (your time)FreeIncluded with eligible Microsoft 365 plansFree plan, paid plans for more volume (pricing)

Recommended OneDrive folder structure

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/

Who this suits

A handful of attachments a month? Download and upload is enough.

What does Inbox2Drive cost, and what happens after you click?
  • Sign-up: one form with your name, company, email address and a password. No credit card, no payment details.
  • Next: you connect your mailbox and your cloud storage and pick the destination folder.
  • Free plan (€0): 1 email account, 20 emails and 10 documents a month, enough to judge the filing on your own attachments.
  • Paid plans per month: Starter €19 (2 accounts, 500 emails, 200 documents) · Business €39 (5 accounts, 2,000 emails, 1,000 documents) · Pro €79 (10 accounts, 10,000 emails, 5,000 documents).
As of 28 November 2026. The price list on inbox2drive.com prevails.

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.

Who runs Inbox2Drive, and what happens to my data?
  • Run by a sole proprietor based in Marbella, Spain (EU). GDPR applies, and the servers are in EU data centres.
  • Attachments are uploaded straight to your own cloud storage and are not kept by us (processing logs: 30 days). Access tokens are stored encrypted.
  • Documents are classified through Google's Gemini API under terms that bar training on your content. You can switch to "rules only" mode instead.
  • It never sends or deletes email. You can revoke access and delete your account and its data at any time.
Details: Privacy Policy (operator name and address) · GDPR page · Questions answered in writing: marketing@inbox2drive.com

FAQ

Can Gmail save attachments to OneDrive by itself?

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.

Can I add my Gmail account to Outlook.com and save attachments to OneDrive from there?

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.

Does Power Automate's Gmail connector work with a personal @gmail.com account?

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.

Can Power Automate save Gmail attachments I already received?

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.

Can I save attachments from Gmail and Outlook into the same OneDrive?

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.

Will Inbox2Drive change or delete my Gmail messages?

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.

Can I connect Gmail to Inbox2Drive without signing in with Google?

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.

Sources

Checked on 24 November 2026. Google and Microsoft change menus and limits over time; follow the links for the current wording.

Connect your Gmail and see where attachments land

Start with one mailbox on the free plan and judge it on your own documents in OneDrive.

Create a free account

No credit card required