Article

Content

Google Workspace SMTP Relay Setup: Step-by-Step Guide (2026)

Google Workspace SMTP Relay Setup: Step-by-Step Guide (2026)

Google Workspace SMTP Relay Setup: Step-by-Step Guide (2026)

Summarize with
Book more meetings with pre-warmed mailboxesReady-to-send Google & Microsoft inboxes in 5 minutes. US/EU IPs. No warmup wait.Get pre-warmed inboxes
4.8on G2
4.5on Trustpilot
Add as a preferred source on Google
Table Of Contents

Scanning page for headings…

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.

Stop Losing Emails to Spam — Get Pre-Warmed Inboxes
Ready to send from day 1. No warm-up wait. No extra tools needed.
Find Your Sending Domains →
100,000+ mailboxes · US & EU IPs · From $4.99/inbox

💡 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

  1. Three Ways to Send From Devices and Apps

  2. SMTP Relay vs Gmail SMTP vs Restricted Server

  3. Step 1: Configure SMTP Relay in the Admin Console

  4. Step 2: Choose Allowed Senders

  5. Step 3: IP Authentication, SMTP Auth or Both

  6. Step 4: Configure the Device or App

  7. Sending Limits for the SMTP Relay

  8. SMTP Relay Error Messages and Fixes

  9. Authentication: SPF, DKIM and DMARC

  10. What the SMTP Relay Isn't For

  11. Worked Example: A Ticketing App and Office Scanners

  12. Final Verdict: Simple Once the Choices Are Clear

  13. Frequently Asked Questions

Stop Losing Emails to Spam — Get Pre-Warmed Inboxes
Ready to send from day 1. No warm-up wait. No extra tools needed.
Find Your Sending Domains →
100,000+ mailboxes · US & EU IPs · From $4.99/inbox

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.

Need pre-warmed inboxes ready today? Litemail delivers Google Workspace & Microsoft 365 mailboxes with weeks of warm-up history built in.Check Available Domains →

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.

Litemail's pre-warmed Google Workspace & Microsoft 365 inboxes come with US/EU IPs, automated DNS, full admin access, and 4–12 weeks of warm-up history — all from $4.99/inbox. No separate warm-up tool needed.

Step 1: Configure SMTP Relay in the Admin Console

Follow these steps in the Google Admin console.

  1. Sign in with an administrator account.

  2. Go to Menu → Apps → Google Workspace → Gmail → Routing.

  3. Scroll to SMTP relay service and click Configure (or Add another rule).

  4. Name the setting, for example "Office printers" or "App server".

  5. Choose Allowed senders (see Step 2).

  6. Choose Authentication: IP addresses, SMTP authentication or both (see Step 3).

  7. Tick Require TLS encryption if your devices support it.

  8. 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.

Start Sending Cold Email Today — Not in 6 Weeks
Pre-warmed Google Workspace & Microsoft 365 inboxes. Automated DNS. US & EU IPs. From $4.99/inbox.
See Domains Ready to Send →
No credit card required · Setup in 5 minutes · Cancel anytime
Start Sending Cold Email — Pre-warmed inboxes from $4
Get Inboxes

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.

Get Fresh Email Inboxes — Set Up in 30 Minutes
Real Google Workspace and Microsoft 365 accounts on your domains. Automated DNS, SPF, DKIM and DMARC included.
Find Your Sending Domains →
Starts at $2.50/inbox · Automated DNS · No manual setup

Step 4: Configure the Device or App

Point your device, app or mail server at the relay.

Server:  smtp-relay.gmail.com
Port:    587 (STARTTLS) or 465 (SSL/TLS) or 25
Auth:    Workspace email and password/app password (if SMTP auth is on)
HELO:    use your domain or server name, not localhost
Server:  smtp-relay.gmail.com
Port:    587 (STARTTLS) or 465 (SSL/TLS) or 25
Auth:    Workspace email and password/app password (if SMTP auth is on)
HELO:    use your domain or server name, not localhost
Server:  smtp-relay.gmail.com
Port:    587 (STARTTLS) or 465 (SSL/TLS) or 25
Auth:    Workspace email and password/app password (if SMTP auth is on)
HELO:    use your domain or server name, not localhost

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.

Stop Losing Emails to Spam — Get Pre-Warmed Inboxes
Ready to send from day 1. No warm-up wait. No extra tools needed.
Find Your Sending Domains →
100,000+ mailboxes · US & EU IPs · From $4.99/inbox

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

Book more meetings with pre-warmed mailboxesReady-to-send Google & Microsoft inboxes in 5 minutes. US/EU IPs. No warmup wait.Get pre-warmed inboxes
4.8on G2
4.5on Trustpilot
Add as a preferred source on Google

Share

Share LiteMail automated email setup on Twitter (X)
Share LiteMail email marketing growth strategies on Facebook
Share LiteMail inbox placement and outreach analytics on LinkedIn
Share LiteMail cold email infrastructure on Reddit
Share LiteMail affordable business email plans on Pinterest
Share LiteMail deliverability optimization services on Telegram
Share LiteMail cold email outreach tools on WhatsApp
Share Litemail on whatsapp
FREESearch pre-warmed domains for freeReady-to-send inboxes that land in the inbox, not spam.Search now
FREESearch pre-warmed domains for freeReady-to-send inboxes that land in the inbox, not spam.Search now
FREESearch pre-warmed domains for freeReady-to-send inboxes that land in the inbox, not spam.Search now