How to Download All Attachments From Gmail

Find Gmail emails with files using has:attachment, download them one by one or to Drive, or have Claude or ChatGPT save all of them on Simular Box.
Advanced computer use agent
Production-grade reliability
Transparent Execution

Where Gmail attachments live

Every attachment stays inside the email it came with. Gmail lets you open, download or save each one to Google Drive from the message, and its search can find every email that has files. Gmail's help doesn't describe a way to save the files from many emails into one folder in one go. That gap is why people search for this: invoices for the accountant, photos from a family thread, contracts from a client, all in one place.

Let Sai handle your repetitive work

Delegate to Sai

How to Download All Attachments From Gmail

Quick answer: Gmail's help covers downloading attachments one email at a time. Search has:attachment (add from:, filename:pdf or larger:10M to narrow it), then download each file by hovering over it and clicking Download, or save it with Add to Drive. For a whole mailbox, Google Takeout exports all your mail. To get hundreds of attachments into one folder without clicking each, have Claude or ChatGPT open Gmail in Chrome on Simular Box and save every file for you.

Prompt to try:

Use box to open Gmail in Chrome and search for has:attachment [from:sender] [after:2026/01/01]. Download every attachment from the results into [folder on the box], named date_sender_filename. Then list the files you saved. Don't delete, archive or send anything.

Ways to save Gmail attachments, compared

MethodBest forMany emails at onceWhere files end upLimits
Download from each emailA few filesNoYour downloads folderOne click per file
Add to DriveKeeping files in Google DriveNoGoogle DriveSome file types can't go to Drive
Google TakeoutA full backup of your mailYes, the whole mailboxAn archive you downloadMeant for backups, not a folder of files
Claude's Gmail connectorReading or summarizing an attachment in chatNoThe chatAbout 12 MB per file
Claude or ChatGPT with Simular BoxHundreds of files into one named folderYesA folder on the boxYou sign in to Gmail yourself

Step 1: Find every email with an attachment

Gmail's search operators narrow the list before you download anything:

  • has:attachment: emails with a file attached.
  • filename:pdf or filename:invoice.pdf: by file type or name.
  • from:amy@example.com: from one sender.
  • after:2026/01/01 and before:2026/04/01: in a date range.
  • older_than:1y or newer_than:2d: by age.
  • larger:10M or size:1000000: by size.
  • label:clients: in one label.

Combine them: has:attachment from:billing@example.com after:2026/01/01 filename:pdf finds this year's PDF invoices from one sender.

Step 2: Download the attachments, one email at a time

  1. On your computer, open Gmail and run your search.
  2. Open a message.
  3. At the bottom of the message, hover over the attachment.
  4. Click Download. Your browser saves it to its downloads folder.

To keep it in Google Drive instead, click Add to Drive in the same place. Office files can also be opened in Docs, Sheets or Slides, which stores a copy in Drive.

This is fine for a handful of emails. For fifty, it's fifty rounds of open, hover, click.

Step 3 (for a full backup): Google Takeout

Google Takeout exports your Google data, including your email, as an archive. Go to Takeout, uncheck every product except your mail, choose how to receive the archive (an email link, or added to Drive, Dropbox, OneDrive or Box), its file type and size, and create the export. Google emails you when it's ready; that can take from minutes to days. It's built for backups and moving accounts, so you get your mail as an archive rather than a tidy folder of attachments.

Use Claude's Gmail connector for reading attachments

If you want to know what's in an attachment rather than save the file, Claude's Gmail connector can open attachments up to about 12 MB so Claude can read or work with them in the chat (in chat this needs code execution and file creation turned on). It reads; it doesn't build you a folder of files.

Save every attachment into one folder with Simular Box

Simular Box (box by Simular) gives Claude, ChatGPT and other AI apps a cloud computer with Chrome, a terminal and files that stay. You sign in to Gmail once in box's Chrome. Your AI then runs the search, opens each email, downloads each attachment, renames the files and sorts them into the folder you named, all on the box's disk.

What the agent does

  1. Opens Gmail in box's Chrome (you sign in the first time).
  2. Runs your search, such as has:attachment from:client after:2026/01/01.
  3. Opens each email in the results and downloads its attachments.
  4. Renames each file with date, sender and original name, and moves it into your folder.
  5. Lists what it saved, and any email it couldn't open.

It leaves your mailbox as it was: nothing is deleted, archived, labeled or sent unless you ask.

Prompts to try

Use box to download every PDF attachment from [sender] this year into [folder on the box]/invoices, named by date. Then make a CSV listing file name, date and email subject.
Use box to save all photos attached to emails in the "[label]" label into [folder on the box]/photos.
Use box to find attachments larger than 10 MB in my Gmail and list them with sender, date and size. Don't delete anything.

Connect, ask, keep

Connect. In ChatGPT, search for box by Simular in Plugins and install it in one click. For Claude and other apps, see the box setup guide.

Ask. The first time, the agent stops at Google's sign-in. Open the live view, take control, sign in yourself (including two-step verification), and hand it back.

Keep. The folder stays on the box, and so does the Gmail session, so next month's run can skip files you already have. To bring the files to your own computer, use Copy files.

Try Simular Box

Limitations

  • If a sender used confidential mode, you can't download that email's attachments.
  • Gmail may flag suspicious attachments; don't download files from senders you don't trust.
  • You sign in to Gmail yourself on the box. The agent never types passwords, two-step codes or payment details.
  • Large batches take time; narrow the search by sender, date or file type first.

More questions

Can ChatGPT save Gmail attachments to a folder?

With the box by Simular plugin, ChatGPT can open Gmail in box's Chrome and download the attachments into a folder on the box.

Why can't I download an attachment?

If the sender turned on confidential mode, downloading is off. Otherwise Google suggests a supported browser, turning off extensions one at a time, and clearing cache and cookies.

Related

Sources: Gmail Help, Open & download attachments in Gmail and Refine searches in Gmail; Google Account Help, How to download your Google data; Claude Help Center, Use Google Workspace connectors; box docs. Checked 30 Nov 2026.

Save Every Gmail Attachment With Simular Box

Connect box to your AI
In ChatGPT, search for box by Simular in Plugins and install it in one click. For Claude and other apps, follow the box setup guide.
Sign in and search
Sign in to Gmail yourself in the live view, then paste the prompt on this page with your search.
Keep the folder
The files stay on the box, named by date and sender, with a list of what was saved.

Stop doing repetitive tasks. Let Sai handle them for you.

Sai is your AI computer use agent — it operates your apps, automates your workflows, and gets work done while you focus on what matters.

Try Sai

FAQS