This article explains how to use Gmail on a Mac by syncing Gmail with the Apple Mail application. The information in this article applies to Macs running macOS Big Sur (11) through Mac OS X Yosemite (10.10)
The best way to use Gmail on a Mac
The Mail app on macOS is like most other email clients, allowing you to add email accounts from your favorite email provider so you can easily send and receive emails. This means you can access your Gmail account through Mail.
When you use Gmail on your Mac, you can set whether to access your online account via IMAP or POP. However, Apple recommends using IMAP.
Here's how to access IMAP-configured Gmail on a Mac by adding your account to the Mail app.