
Google Workspace has three ways to send email from devices and apps: the SMTP relay service, the Gmail SMTP server and a restricted server that only delivers to Google users. Google recommends the SMTP relay for devices and apps, but its setup in the Admin console has a few choices that trip people up. This guide walks through Google Workspace SMTP relay setup step by step, with the limits, ports and error fixes you'll need.
💡 TL;DR
For Google Workspace SMTP relay setup, an admin goes to Admin console → Apps → Google Workspace → Gmail → Routing → SMTP relay service, adds a rule, chooses allowed senders, and picks authentication: specific IP addresses, SMTP authentication or both, with TLS. Devices then connect to smtp-relay.gmail.com on port 25, 465 or 587. Limits: each user can relay to 10,000 unique recipients a day, the account is limited to 4.6 million recipients a day, and each SMTP transaction allows 100 recipients. Trial accounts have lower limits. The relay is meant for devices and apps, not bulk or cold email, and Google monitors it for spam.
By LiteMail · Prices/data checked on November 25, 2026
Table of Contents
Three Ways to Send From Devices and Apps
SMTP Relay vs Gmail SMTP vs Restricted Server
Step 1: Configure SMTP Relay in the Admin Console
Step 2: Choose Allowed Senders
Step 3: IP Authentication, SMTP Auth or Both
Step 4: Configure the Device or App
Sending Limits for the SMTP Relay
SMTP Relay Error Messages and Fixes
Authentication: SPF, DKIM and DMARC
What the SMTP Relay Isn't For
Worked Example: A Ticketing App and Office Scanners
Final Verdict: Simple Once the Choices Are Clear
Frequently Asked Questions
Three Ways to Send From Devices and Apps
Printers, scanners, internal apps and on-premise mail servers often need to send email through your Google Workspace domain. Google offers three routes, and picking the wrong one causes most setup headaches.
Google recommends the SMTP relay service for devices and apps because it authenticates by IP address or SMTP login and can send to anyone inside or outside your organization.
By the end of this, you'll have a working Google Workspace SMTP relay setup and know which limits and errors to watch for.
SMTP Relay vs Gmail SMTP vs Restricted Server
Here's how Google's three options compare, from its Workspace admin documentation checked November 25, 2026.
SMTP relay service | Gmail SMTP server | Restricted Gmail SMTP server | |
|---|---|---|---|
Server | smtp-relay.gmail.com | smtp.gmail.com | aspmx.l.google.com |
Ports | 25, 465, 587 | 465 (SSL), 587 (TLS) | 25 |
Authentication | IP address and/or SMTP auth | Workspace account login | None; IP allowlist recommended |
Sends to | Anyone | Anyone | Gmail and Google Workspace users only |
Typical limit | 10,000 unique recipients per user per day | Gmail sending limits (Google lists 2,000 messages/day) | Per-user limits |
Best for | Devices, apps, on-premise servers | Single devices with a user account | Internal-only notifications |
💡 Admin access required
SMTP relay is configured in the Admin console by an administrator with Gmail settings privileges. Regular users can't set it up.
How We Built This Guide
Every step, limit and error message here comes from Google's Workspace admin help articles on routing SMTP relay messages, sending from printers and apps, and SMTP relay error messages, checked on November 25, 2026. Admin console menus occasionally change; if a label differs, look under Gmail routing settings.
Step 1: Configure SMTP Relay in the Admin Console
Follow these steps in the Google Admin console.
Sign in with an administrator account.
Go to Menu → Apps → Google Workspace → Gmail → Routing.
Scroll to SMTP relay service and click Configure (or Add another rule).
Name the setting, for example "Office printers" or "App server".
Choose Allowed senders (see Step 2).
Choose Authentication: IP addresses, SMTP authentication or both (see Step 3).
Tick Require TLS encryption if your devices support it.
Save, and allow time for the change to take effect.
You can only add or edit this setting at the top-level organization.
Step 2: Choose Allowed Senders
This setting controls whose addresses can send through the relay.
Option | What it allows | Use when |
|---|---|---|
Only registered Apps users in my domains | Sender must be a Google Workspace user | Most secure; users send from devices |
Only addresses in my domains | Any address in your domains, even non-users | Apps send as noreply@ or alerts@ |
Any addresses | Any sender address | Rarely; higher abuse risk |
Google notes the "any addresses" option makes you more vulnerable to abuse. If a registered user is the envelope sender, that user needs a license that includes Gmail.
Step 3: IP Authentication, SMTP Auth or Both
Choose how Google confirms the connection is yours.
Only accept mail from specified IP addresses: list your server or office static IPs. Works without TLS.
Require SMTP Authentication: the device logs in with a Workspace address and credentials. Requires TLS.
Both: strongest; recommended when possible.
Google notes that without TLS you can't use SMTP authentication and must use IP address authentication.
Step 4: Configure the Device or App
Point your device, app or mail server at the relay.
Google recommends presenting a unique identifier such as your domain name in the HELO or EHLO command, and reusing connections (connection caching) when sending larger volumes.
Sending Limits for the SMTP Relay
Google publishes these limits for the Google Workspace SMTP relay service.
Limit | Value |
|---|---|
Unique recipients per user per 24 hours | 10,000 |
Total recipients per account per 24 hours | 4.6 million |
Total recipients per account per 10 minutes | 319,444 |
Recipients per SMTP transaction | 100 |
Trial accounts | Lower; raised after paying a Google bill |
SMTP relay limits are counted separately from users' regular Gmail sending limits. Google may also reduce limits based on sending practices.
SMTP Relay Error Messages and Fixes
Most Google Workspace SMTP relay setup problems show up as one of these errors.
Error | Cause | Fix |
|---|---|---|
Mail relay denied | Sending IP or domain isn't registered in the relay setting | Add the IP, or use SMTP auth |
Invalid credentials for relay | IP doesn't match the sending domain's account | Use SMTP AUTH or present your domain in HELO |
Daily SMTP relay limit exceeded for user | User hit the daily recipient limit | Spread sending or use another sender |
Peak SMTP relay limit exceeded | Temporary account-level spike | Retry later; slow down |
Too many recipients | Over 100 recipients in one transaction | Split into multiple transactions |
Authentication: SPF, DKIM and DMARC
Mail sent through the relay leaves from Google's servers, so your domain's SPF record should include Google, and DKIM signing should be turned on in the Admin console.
SPF: include:_spf.google.com in your SPF record.
DKIM: generate and publish a key in Admin console → Apps → Gmail → Authenticate email.
DMARC: publish a record; start at p=none with reporting.
Our SPF, DKIM and DMARC guide covers each step.
What the SMTP Relay Isn't For
Google describes the relay as intended for on-premise devices and applications. It's not designed for bulk marketing or cold outreach, and Google says it monitors relay traffic and notifies administrators when a user sends significant spam.
Google also says not to use the relay to route email that originates in Gmail. For outbound sales, use separate sending domains and inboxes, such as Google Workspace inboxes dedicated to outreach, at 25–35 emails per inbox per day.
Worked Example: A Ticketing App and Office Scanners
An illustrative setup for a 50-person company.
Need | Setting |
|---|---|
Office scanners emailing PDFs | Rule 1: allowed senders = addresses in my domains; IP authentication for the office static IP |
Help desk app sending notifications | Rule 2: SMTP auth with a dedicated support@ user; TLS required |
Volume | A few hundred messages a day; well within limits |
DNS | SPF includes Google; DKIM on; DMARC at p=none |
Two rules keep devices and the app separate, so an issue with one doesn't affect the other.
What Real Users Say
Admin forum threads about Google Workspace SMTP relay setup most often involve "Mail relay denied" errors from unregistered IPs, devices that don't support TLS, and confusion between smtp-relay.gmail.com and smtp.gmail.com. Google's error documentation covers each, and the fixes above map to them.
Final Verdict: Simple Once the Choices Are Clear
Google Workspace SMTP relay setup comes down to three choices in the Admin console: who can send, how they authenticate, and whether TLS is required. Point devices at smtp-relay.gmail.com, stay within the published limits, and make sure SPF, DKIM and DMARC are in place.
Use the relay for devices and apps. Use dedicated inboxes on separate domains for outreach.
Outreach Belongs on Separate Inboxes
Litemail pre-warmed Google Workspace inboxes give your sales team dedicated sending domains, with SPF, DKIM and DMARC pre-configured, dedicated US and EU IPs and full admin access. Plans start at $39/month for 5 inboxes.
Get Pre-Warmed Inboxes from $39/mo →
Google Workspace & Microsoft 365 · Full admin access · Dedicated US and EU IPs · Plans from 5 inboxes
About Litemail — Litemail provides pre-warmed Google Workspace and Microsoft 365 inboxes for cold email outreach. From $39/month for 5 inboxes with automated DNS, dedicated US and EU IPs, and full admin access. View pre-warmed inbox plans →
Related reading: Google Workspace Inboxes · Google Workspace Pre-Warmed Accounts · SPF, DKIM and DMARC Setup Guide · Cold Email Infrastructure · Litemail Pre-Warmed Inboxes — Plans and Pricing
Key Takeaways
Configure in Admin console → Apps → Google Workspace → Gmail → Routing → SMTP relay service.
Connect devices to smtp-relay.gmail.com on port 25, 465 or 587.
Each user can relay to 10,000 unique recipients a day; accounts to 4.6 million.
Each SMTP transaction is limited to 100 recipients.
Without TLS, you must use IP authentication.
The relay is for devices and apps, not bulk or cold email.
Frequently Asked Questions
What is the Google Workspace SMTP relay?
A service that lets devices, apps and on-premise mail servers send email through Google's servers using your Workspace domain.
What server and ports does the SMTP relay use?
smtp-relay.gmail.com on port 25, 465 or 587.
What are the SMTP relay sending limits?
10,000 unique recipients per user per day, 4.6 million recipients per account per day, and 100 recipients per SMTP transaction. Trial accounts have lower limits.
Why do I get "Mail relay denied"?
The sending IP or domain isn't registered in your SMTP relay setting. Add the IP or use SMTP authentication.
Should I use smtp-relay.gmail.com or smtp.gmail.com?
Google recommends the relay for devices and apps. smtp.gmail.com uses a single user's login and Gmail sending limits.
Can I use the SMTP relay for cold email?
It isn't designed for that. Google monitors relay traffic for spam. Use dedicated outreach inboxes instead.
Does Litemail provide Google Workspace inboxes?
Yes. Litemail provides pre-warmed Google Workspace and Microsoft 365 inboxes from $39/month for 5 inboxes with SPF, DKIM and DMARC pre-configured.
Buy Pre-Warmed Email Inboxes & Domains | Litemail
Buy pre-warmed email accounts, inboxes and domains from $39/month for 5 inboxes. Google Workspace & Microsoft 365. Automated DNS, US & EU IPs. Setup in 5 minutes.
View Plans & Pricing → Related reading: Cold Email Deliverability Guide · Google Workspace vs Microsoft 365 · Blacklist Prevention for B2B Teams · Pre-Warmed Domains · Litemail Home


