How do I delete emails from gmail, but keep them archived in Apple Mail?

Hi,

I need to free up space on my gmail account, without deleting it from my Mac.

I tried "archiving" folders by moving them to On My Mac.

But the individual emails still show up in All Mail. And since All Mail syncs with gmail, they still take up space on my gmail account...


How to do this?



MacBook Pro 15″, macOS 10.15

Posted on Mar 3, 2022 9:01 AM

Reply
Question marked as Top-ranking reply

Posted on Mar 3, 2022 8:33 PM

You can try logging into GMAIL with a browser directly and permanently delete the emails from there. Make sure you empty the trash (in the browser interface). Try doing this first with just one email to ensure that your local storage (On My Mac) still preserves the message after it is deleted from the GMAIL server.

2 replies
Question marked as Top-ranking reply

Mar 3, 2022 8:33 PM in response to Simon Olsson

You can try logging into GMAIL with a browser directly and permanently delete the emails from there. Make sure you empty the trash (in the browser interface). Try doing this first with just one email to ensure that your local storage (On My Mac) still preserves the message after it is deleted from the GMAIL server.

Mar 4, 2022 6:12 AM in response to steve626

Ok, so I've figured out why this happened and how to fix it.

If anyone has a better way, please chime in


The problem:

Apple Mail uses Folders and Gmail uses Labels.

If I move an email from the Inbox to a folder in Apple Mail; the email is moved from the Inbox to that folder.

But in Gmail, the email always resides in All Mail. When Apple Mail tells it to move it to a folder, it doesn't really do it. Instead it just changes its label from Inbox, to the name of that folder.


The effect:

When I do a project, I make a folder that has multiple levels of subfolders.

When the project is done, I move it to On My Mac to make a local archive. Then I delete the entire folder tree in Gmail.

When I do that on my Mac, I get a warning that "All folders and all emails within them will be permanently deleted".

That is true on my Mac, but not in Gmail.

The only thing that has happened in Gmail, is that all those emails are still there, but they no longer has a Label. So finding all the correct emails and deleting them, has now turned in to a nightmare...


The workaround:

  • Move the parent folders from On My Mac, back to Gmail (on your Mac). That will not move the folders, but rather make a copy of the Folder/Label structure on your Gmail account.
  • Go into each subfolder and delete the emails there.
  • Finally; delete the folder structure



In the future I will delete the actual emails before deleting the folders. But this was my solution to the thousands of emails that were unnecessarily maxing out my gmail account. I hope it helps someone else:)

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How do I delete emails from gmail, but keep them archived in Apple Mail?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.