Mailbox · SMTP settings
Google Workspace SMTP settings
Google Workspace uses the same server as Gmail: smtp.gmail.com on port 587 (STARTTLS) or 465 (SSL), with your full work address and an app password. Admins can also set up the smtp-relay.gmail.com service for printers, apps and devices.
Last reviewed November 2026
| SMTP server | smtp.gmail.com |
|---|---|
| Port (recommended) | 587 (STARTTLS) |
| Port | 465 (SSL/TLS) |
| Username | Your full Workspace address (you@yourcompany.com) |
| Password | An app password, or sign in with OAuth |
| Authentication | Required |
| SMTP relay host | smtp-relay.gmail.com (ports 25, 465, 587) |
| IMAP server | imap.gmail.com |
|---|---|
| IMAP port | 993 (SSL/TLS) |
Sending limits
Google documents a limit of 2,000 messages per user per day for paid Workspace accounts (lower during trials). The SMTP relay service has its own per-user and per-domain limits.
Option 1: sign in as a user
Use smtp.gmail.com with your full work address and an app password. Most mail apps and code libraries need an app password rather than your normal password. Your admin must allow 2-Step Verification, and app passwords must not be blocked for your organisational unit.
Option 2: the Workspace SMTP relay service
For devices and servers that send on behalf of many users, an admin can configure Apps > Google Workspace > Gmail > Routing > SMTP relay service in the Admin console. You choose whether the relay accepts mail only from specific IP addresses, only with SMTP authentication, or both, and whether TLS is required. Devices then send to smtp-relay.gmail.com on port 25, 465 or 587.
Add SPF and DKIM for your domain
If you send from your own domain, publish Google's SPF include (include:_spf.google.com) and turn on DKIM signing in the Admin console. Check your records with our free SPF checker and DKIM checker (Google's default selector is google).
For application email
Workspace accounts are meant for people, not for your product's password resets and receipts. Sending application mail through a mailbox mixes it with staff mail, shares one reputation and hits per-user caps. A transactional email service such as Stack Emails sends from a subdomain like mail.yourcompany.com with its own reputation, webhooks and logs.
Check your domain's email records
If you send from your own domain, receiving servers check SPF, DKIM and DMARC. Use our free SPF checker, DKIM checker and DMARC checker to confirm they pass.
Settings checked against Google Workspace's public help pages. Providers change authentication rules from time to time, so confirm in their documentation if something doesn't work.