Mail Quick Tip: Archive Gmail messages
Arguably one of Gmail’s best features is the archive button. Instead of throwing messages away, we can take advantage of Gmail’s vast storage and keep them. Hit the “Archive” button and the message disappears from the Inbox, but it remains searchable and can be found in the “All Mail” folder.
If you’re using Apple Mail, there is no archive button. But we can repurpose the delete button to be an archive button. Here’s how:
Navigate to Mail > Preferences > Accounts > [Your account] > Mailbox Behaviors. Then uncheck “Move deleted messages to the Trash mailbox.”

You’re all set! Now when you hit the “delete” button in Mail’s toolbar, the message will be archived instead of deleted.