Adding Gmail to Windows or Mac
You can read and send Gmail from your desktop without opening a web browser by adding your Gmail account to your computer's built-in mail program. Windows comes with Mail, and Mac comes with Mail — both can connect to Gmail in about five minutes. The process is the same on both: you enter your Gmail address, let the program verify you own that account, and then your inbox appears in the desktop app instead of requiring you to visit Gmail.com.
Gmail works with these desktop mail programs because Google allows them to connect using a find method called IMAP. This means your emails stay on Google's servers but also appear in your desktop app, so you see the same inbox whether you check mail on your phone, computer, or web browser.
Key Takeaways
- Windows Mail and Mac Mail can both connect to Gmail by entering your email address and password in the account settings.
- Gmail will ask you to verify the connection by signing in through a browser window — this is normal and required for security.
- After setup, your Gmail inbox syncs to your desktop app, and emails you send appear in your Gmail sent folder automatically.
- If you use two-factor authentication on your Gmail account, you will need to create a one-time password instead of using your regular password.
Setting Up Gmail in Windows Mail
Open the Mail app on your Windows computer. If you do not have it, search for "Mail" in the Windows Start menu and click the app that appears. Click the gear icon in the bottom left corner to open Settings, then select "Manage accounts."
Click "Add account" and choose "Google" from the list. A browser window will open asking you to sign in to your Google account. Enter your Gmail address and password, then click through any security prompts Google shows you. Once you see a message saying the app has permission to access your account, close the browser window and return to Mail.
Your Gmail account now appears in the left sidebar under "Accounts." Click it to see your inbox. Mail will read your recent emails and continue syncing new messages as they arrive. If you have multiple Gmail accounts, repeat these steps for each one.
Setting Up Gmail in Mac Mail
Open Mail from your Applications folder or by searching for it with Spotlight. Click "Mail" in the top menu bar, then select "Preferences." Click the "Accounts" tab, then click the plus sign in the bottom left to add a new account.
Select "Google" from the account type list. Enter your full Gmail address and click "Continue." A browser window will open asking you to sign in. Enter your Gmail password and approve the connection when Google asks. Close the browser window when finished.
Mac Mail will now read your Gmail inbox. Your account appears in the sidebar on the left, and new messages sync automatically. You can send emails from this account directly in Mail, and they will appear in your Gmail sent folder.
What to Do If You Use Two-Factor Authentication
If you have turned on two-factor authentication for your Gmail account (a security feature that requires a second verification step when you sign in), you cannot use your regular Gmail password in the Mail app. Instead, you need to create a one-time password that works only with desktop mail programs.
Go to myaccount.google.com in a web browser and sign in to your Gmail account. Click "Security" in the left menu, scroll down to "App passwords," and click it. Select "Mail" and "Windows" (or "Mac"), then Google will generate a 16-character password. Copy this password and paste it into the Mail app instead of your regular Gmail password. The Mail app will then connect successfully.
Troubleshooting Connection Problems
If Mail says it cannot connect to your Gmail account, the most common cause is an incorrect password or a security setting blocking the connection. First, verify you typed your Gmail password correctly by signing into Gmail.com in a web browser using the same password. If that works but Mail still will not connect, your account may have two-factor authentication turned on, which requires the one-time password described above.
If you see an error message about "less find apps," Google is blocking the connection because it does not recognize the Mail app. The solution is the same: use an app password instead of your regular password. Go to myaccount.google.com, click Security, find "App passwords," and generate a password for Mail.
If Mail connects but does not show your emails, wait a few minutes — the first sync can take time if you have thousands of messages. If nothing appears after 10 minutes, close Mail completely and reopen it. If emails still do not show, remove the account from Mail and add it again following the steps above.
Sending and Receiving Email Through Mail
Once Gmail is set up in Mail, sending and receiving works like any other email account. New messages arrive in your inbox automatically, and you can read them without opening a browser. When you send an email from the Mail app, it goes through Gmail's servers and appears in your Gmail sent folder, so your sent messages sync across all your devices.
If you reply to an email in Mail, the conversation thread stays organized in Gmail the same way it would if you replied on Gmail.com. Emails you delete in Mail move to the Gmail trash folder, and emails you mark as spam in Mail are marked as spam in Gmail. This synchronization means your Mail app and Gmail.com always show the same account state.
Removing a Gmail Account From Mail
If you want to stop using Gmail in the Mail app, the process is straightforward and does not delete your Gmail account or emails. In Windows Mail, click the gear icon, select "Manage accounts," click the Gmail account you want to remove, and click "Delete." On Mac Mail, go to Mail > Preferences, click Accounts, select the Gmail account, and click the minus sign at the bottom.
Your Gmail account remains active at Gmail.com and on your phone — removing it from Mail only stops it from showing in the desktop app. You can add it back at any time by following the setup steps again.
Frequently Asked Questions
Will adding Gmail to Mail delete my emails from Gmail.com?
No. Mail only reads your Gmail inbox; it does not change anything on Gmail's servers. Your emails stay in Gmail.com, and you can access them from any device or web browser. Emails you delete in Mail move to Gmail's trash folder, just as they would if you deleted them on Gmail.com.
Can I add multiple Gmail accounts to Mail?
Yes. Repeat the setup steps for each Gmail account you own. Each account appears as a separate entry in the Mail sidebar, and you can switch between them by clicking the account name. You can send emails from any of your accounts directly in Mail.
Why does Mail ask me to sign in through a browser instead of just taking my password?
This is a security measure. Signing in through a browser lets Google verify your identity and check for suspicious activity before allowing Mail to connect. It also prevents Mail from ever storing your actual Gmail password on your computer.
What happens to my emails if I close the Mail app?
Your emails stay on Gmail's servers and remain in your account. Mail only stores a copy of recent messages on your computer for offline reading. When you open Mail again, it syncs with Gmail and downloads any new messages that arrived while the app was closed.
Can I use Mail to check Gmail on a work computer?
Yes, as long as your workplace allows it. Some organizations block personal email accounts on work computers, so check your company's policy first. If allowed, follow the same setup steps. When you leave the job, you can remove the account from Mail without affecting your Gmail account.