π Secure. Reliable. Scalable. Whether you're setting up your business email on Outlook, Apple Mail, Thunderbird, or a mobile device β this guide delivers everything you need for a smooth and secure email experience with Google Workspace (G Suite).
ποΈ Table of Contents
-
π Google Workspace Email Server Settings
-
πΌ Step-by-Step Setup for Popular Clients
-
π SMTP Relay Setup for Devices & Apps
-
π Authentication Methods & Security
-
π§βπΌ Admin Tips & Security Best Practices
-
π οΈ Common Troubleshooting Tips
-
π Final Thoughts
π 1. Google Workspace Server Settings & Port Numbers π
To ensure seamless email delivery and secure access, Google Workspace provides industry-standard mail server settings compatible with all modern email clients. Below is a comprehensive breakdown of each service, its purpose, configuration details, and recommended usage.
π₯ Incoming Mail (IMAP & POP3)
πΌ Service | π Server Address | π Port | π Encryption | π Authentication |
---|---|---|---|---|
IMAP (Recommended) | imap.gmail.com |
993 | SSL/TLS (Always ON) | β Yes |
POP3 | pop.gmail.com |
995 | SSL/TLS (Always ON) | β Yes |
π IMAP (Internet Message Access Protocol)
-
π’ Recommended for all modern clients
-
π¨ Keeps emails synced across devices (webmail, desktop, mobile)
-
Perfect for accessing emails from multiple locations
Use case: Ideal for professionals who access email from laptops, phones, and tablets interchangeably.
π POP3 (Post Office Protocol)
-
π€ Downloads email to a single device and removes it from the server (unless configured otherwise)
-
Useful in limited-storage or offline environments
Use case: Best for legacy systems or single-device configurations where email archiving is done locally.
π€ Outgoing Mail (SMTP)
πΌ Service | π Server Address | π Port Options | π Encryption | π Authentication |
---|---|---|---|---|
SMTP (Standard) | smtp.gmail.com |
465 (SSL) 587 (STARTTLS) |
SSL / STARTTLS | β Yes |
π SMTP (Simple Mail Transfer Protocol)
-
Required for sending emails from any client (Outlook, Thunderbird, Apple Mail)
-
Supports both implicit SSL (465) and explicit STARTTLS (587) encryption
-
Compatible with OAuth2 and App Passwords
Recommendation:
-
Use Port 587 (STARTTLS) for most modern email clients
-
Use Port 465 (SSL) if your device doesn't support STARTTLS
π SMTP Relay (for Printers, Servers & Applications)
π¨οΈ Service | π Server Address | π Port Options | π Encryption | π Authentication |
---|---|---|---|---|
SMTP Relay | smtp-relay.gmail.com |
25, 465, 587 | SSL / STARTTLS | IP-based or OAuth2 |
π What is SMTP Relay?
SMTP Relay is used for automated systems and devices that need to send emails, like:
-
π¨οΈ Multifunction printers (MFDs)
-
π ERP/CRM systems
-
π Alerting/monitoring tools (e.g., Nagios, Zabbix)
π§ Configuration Notes:
-
You can restrict relay access by IP address via Google Admin Console.
-
Email must originate from a domain you own.
-
Google enforces SPF checks, so ensure your domain's DNS includes:
include:_spf.google.com
-
π Authentication Methods: Secure Access to Google Workspace Mail
Starting May 2025, Google Workspace has permanently disabled Basic Authentication (username + password) for third-party email clients. This change enhances security and requires users to switch to modern, token-based login methods like OAuth 2.0 or App Passwords.
β οΈ Deprecated: Basic Authentication (No Longer Supported)
π« Method π§Ύ Details Basic Auth (Username + Password) Login using only email and password Status: β Blocked As of May 2025, all connections using Basic Auth are rejected ΒWhy was it deprecated?
-
Vulnerable to brute-force attacks and phishing
-
Lacks token lifecycle management
-
Insecure over non-encrypted channels
π Impact: If your email client still prompts for a basic password login, it will fail to authenticate.
β Recommended Authentication Methods (2025 & Beyond)
π Authentication Type π‘ Best For βοΈ Supported Clients OAuth 2.0 Most modern apps (secure & automatic) Gmail App, Outlook 2016+, Thunderbird, Apple Mail (Google method) App Passwords Older apps that donβt support OAuth Outlook 2013, iOS Mail (manual), older Thunderbird, ERP/CRM integrations Β
π Method 1: OAuth 2.0 β The Gold Standard for Email Security
OAuth 2.0 uses secure tokens instead of passwords and offers seamless integration with Google login.
π§ How it works:
-
You add your Google Workspace email in the client.
-
A browser pop-up appears asking you to sign in with Google.
-
After approval, a token is issued to the app β no password is stored.
β Advantages:
-
Highly secure & phishing-resistant
-
Revokable tokens from Google Security settings
-
Native support in modern clients like:
-
β Gmail App (Android/iOS)
-
β Microsoft Outlook (2016, 2019, 365)
-
β Apple Mail (via βAdd Google Accountβ)
-
β Mozilla Thunderbird (v78+)
-
π‘οΈ Admin Tip: Enforce OAuth-only access in Google Admin Console β Security β Access and data control β API controls
π Method 2: App Passwords β For Legacy Email Clients
An App Password is a special 16-digit password generated by Google for apps that do not support OAuth 2.0. It works only after enabling 2-Step Verification on your account.
π Use Cases:
-
π€ Sending email via Outlook 2013
-
π₯ Accessing email via iOS Mail (manual config)
-
π¨οΈ Connecting older MFDs, CRM systems, ERP alerts
π οΈ How to Generate and Use an App Password:
πΉ Step-by-Step Instructions:
-
π Visit: https://myaccount.google.com
-
Go to Security β Signing in to Google
-
Enable 2-Step Verification (if not done already)
-
Once enabled, return to Security β App Passwords
-
Select the app type (e.g., Mail) and device (e.g., Windows Computer)
-
Click Generate
-
Copy the 16-character password
-
Use this password in your email client in place of your regular Google password
β Where to use:
-
During IMAP or SMTP setup in older email apps
-
In devices with no browser-based OAuth login support
π‘ Note: App Passwords do not work without enabling 2FA.
π§ Pro Tip for Admins:
If you're managing a team:
-
π‘οΈ Require 2-Step Verification in Admin Console
-
π Review token access under Admin Console β Security β OAuth App Access Control
-
π Monitor user login methods via Reports β Audit β Login Log
By enforcing these modern authentication methods, you:
-
π« Eliminate legacy risks
-
π Secure your business email system
-
β Comply with industry-standard security practices
π Authentication Methods
β Best Practice Checklist:
-
β Always use your full email address (e.g.,
yourname@yourdomain.com
) as the username. -
π Enable 2-Step Verification on your Google account to generate App Passwords.
-
πΌ For teams: Set IMAP and SMTP access policies in the Google Admin Console for better control and security.
πΌ 2. Step-by-Step Setup for Popular Email Clients
π§ Microsoft Outlook (2016 β 365): Secure Setup with IMAP & OAuth/App Password
Outlook remains one of the most widely used desktop email clients for professionals. Here's how to configure your Google Workspace email securely using IMAP and either OAuth 2.0 or an App Password.
π Steps to Add Your Google Workspace Email to Outlook:
π§ Navigation Path:
π Open Outlook β Click on File (Top Menu)
β‘οΈ Select Add Account
π οΈ Configuration Mode:
-
Choose: Manual Setup or Additional Server Types
-
Select: IMAP
π₯ Incoming Mail (IMAP) Settings:
Field Value Server imap.gmail.com
Port 993
Encryption Method SSL/TLS Authentication Full email address (e.g., you@yourdomain.com
)Β
π€ Outgoing Mail (SMTP) Settings:
Field Value Server smtp.gmail.com
Port 587
Encryption Method STARTTLS Authentication Same as incoming (full email address) Β
π Authentication Options:
β Option 1: OAuth 2.0 Login (Recommended)
-
After entering the server settings, Outlook will open a Google sign-in pop-up window.
-
Enter your full Google Workspace email address and click Next.
-
Sign in with your Google credentials.
-
If prompted, complete 2-Step Verification.
-
Grant Outlook permission to access your mailbox.
-
You're done β tokens are securely stored, and no password is saved locally.
π Option 2: App Password (for non-OAuth capable versions)
-
Enable 2-Step Verification at: https://myaccount.google.com/security
-
Go to βApp Passwordsβ and generate a 16-character key.
-
When Outlook prompts for your password, use this generated App Password instead of your main Google password.
π Pro Tips:
-
π§Ή Before setup, remove any previously failed Gmail account entries in Outlook.
-
β Always choose IMAP instead of POP for cross-device syncing.
-
π Restart Outlook after configuration to ensure full sync.
π― Result:
You now have a secure, fully synchronized, professionally configured email setup in Outlook using Google Workspace β ready to send and receive emails with encryption and peace of mind.
-
π Apple Mail (macOS/iOS)
-
Go to:
Settings β Internet Accounts β Add Account β Google
-
Automatically sets IMAP + Contacts + Calendar via OAuth
-
Manual Setup (if needed):
-
IMAP:
imap.gmail.com
(SSL 993) -
SMTP:
smtp.gmail.com
(SSL 465)
-
π¦ Mozilla Thunderbird
-
Open Setup Wizard β Enter Email β Auto-detects IMAP/SMTP with OAuth
-
Manual Mode:
-
IMAP:
imap.gmail.com:993
(SSL) -
SMTP:
smtp.gmail.com:587
(STARTTLS)
-
π± Android / Gmail App
-
Gmail App β
Add Account β Google
-
Sign in using your Workspace credentials β OAuth login
π© iOS Mail (Manual Method)
-
Settings β Mail β Accounts β Add Account β Other β IMAP
-
Use full email address + App Password
-
Servers:
-
IMAP:
imap.gmail.com
(993, SSL) -
SMTP:
smtp.gmail.com
(465, SSL)
-
π 3. Google SMTP Relay for Copiers, Printers & Applications
β When to Use:
-
Legacy devices that canβt support OAuth
-
Applications needing to send alerts or transactional emails
βοΈ Configuration:
π§ Field | Value |
---|---|
SMTP Server | smtp-relay.gmail.com |
Port | 25 , 465 , or 587 |
Encryption | SSL / STARTTLS |
Auth Type | IP-based or OAuth |
π Admin Console β Gmail β Routing β Configure SMTP relay
π‘οΈ SPF: Add include:_spf.google.com
to your domain DNS
π 4. Authentication Options: Secure Your Login
π‘οΈ App Passwords (for Basic Mail Clients)
-
Enable 2-Step Verification in Google Account
-
Navigate to:
Security β App Passwords
-
Generate and use the 16-digit App Password during setup
π OAuth 2.0 (Recommended)
-
Default for Outlook, Gmail App, Apple Mail (when βGoogleβ option is selected)
-
Seamless login with consent screen and token authentication
-
No password saved locally π
π§βπΌ 5. Google Workspace Admin Configuration Tips
β Enable IMAP access
β Admin Console β Gmail β End User Access β Enable IMAP
β Disable βLess Secure Appsβ
β Already enforced β use only OAuth or SMTP relay
β Use SMTP Relay for devices
β Restrict by IP or domain
β Enforce TLS connections (1.2 or higher)
β SPF, DKIM, and DMARC setup
β Use email-auth tools to ensure deliverability and avoid spoofing
π οΈ 6. Troubleshooting Common Issues
β Issue | π‘ Cause | π§ Fix |
---|---|---|
Login error / auth failed | Using old password method | Use OAuth or App Password |
"Server not responding" | Port blocked | Use SSL ports: 465 / 587 |
Device canβt send email | Doesn't support OAuth | Use SMTP relay with IP authentication |
POP/IMAP unavailable | Not enabled in admin settings | Enable under Admin Console β Gmail β Access settings |
π Pro Tip: Use telnet smtp.gmail.com 587
or openssl s_client -connect smtp.gmail.com:465
to test connectivity
π Final Thoughts
β With these verified settings and step-by-step setup guides, you can ensure:
-
π Secure access via OAuth2 or App Passwords
-
π© Smooth configuration across all major clients
-
π Reliable SMTP relay for scanners, alerts, and applications
-
π Higher deliverability with SPF, DKIM, DMARC in place