The Google Workspace SMTP Relay service allows devices, applications, and multi-user environments to send emails through Google's robust infrastructure, leveraging three primary options: the dedicated smtp-relay.gmail.com for authenticated or IP-whitelisted relay, the standard smtp.gmail.com with app passwords for individual user accounts, and the internal-only aspmx.l.google.com for server-to-server communication within Google's ecosystem.

What is Google Workspace SMTP Relay and Why Use It?

The Google Workspace SMTP relay service is a powerful feature designed for organizations using Google Workspace to manage their email communications. It enables devices, applications, or even other mail servers within your domain to send outgoing mail through Google's secure and highly reliable infrastructure. This is crucial for maintaining email deliverability, especially when sending automated notifications, transactional emails, or internal reports from non-email-specific applications like CRM systems, ERPs, or monitoring tools.

Using a dedicated google workspace smtp relay offers several advantages over sending directly from an application or device:

  • Improved Deliverability: Emails sent through Google's servers benefit from their established sender reputation, reducing the likelihood of messages being marked as spam.
  • Security: All outgoing mail is scanned for spam and viruses, protecting your recipients and your domain's reputation. TLS encryption is enforced for secure transmission.
  • Reliability: Google's infrastructure is designed for high availability and resilience, ensuring your emails are delivered consistently.
  • Centralized Management: Administrators can monitor and control email flow, apply routing rules, and troubleshoot issues from the Google Workspace Admin console.
  • Authentication: Ensures that emails originating from your applications are properly authenticated, which is vital for DMARC compliance and overall email health. You can check your SPF records and ensure they are correctly configured for your domain.
Делаете холодные рассылки?

Bulko даёт готовый пул прогретых SMTP-аккаунтов: 500 бесплатных кредитов на тест кампаний, SMTP-релей от $5 за 5 000 писем без подписки.

Начать бесплатно →

The Three Google SMTP Relay Options Explained

Google provides three distinct methods for using its SMTP relay capabilities, each suited for different use cases and security requirements. Understanding these options is key to configuring your devices and applications correctly.

1. Dedicated SMTP Relay Service: smtp-relay.gmail.com

This is the primary method for businesses and organizations that need to send emails from applications, servers, or multi-user devices. It's configured via the Google Workspace Admin console and offers two main authentication mechanisms:

  • IP Address Allowlisting: You configure your Google Workspace domain to accept email from specific public IP addresses or IP ranges. Any email sent from these allowed IPs will be relayed, provided the sender address belongs to your Google Workspace domain. This is often preferred for applications running on dedicated servers with static IPs.
  • SMTP Authentication (Username/Password): For applications or devices that support standard SMTP authentication, you can configure them to use a specific Google Workspace user's credentials (email address and password). This method is more flexible for devices that might not have a static IP or for environments where IP allowlisting is impractical. However, it's generally less secure than IP allowlisting if not handled carefully, as it relies on storing credentials.

This google smtp relay service is designed for higher volumes and provides more robust control through the Admin console. It's the recommended option for most organizational use cases.

2. Standard Gmail SMTP: smtp.gmail.com with App Passwords

This option uses the standard smtp relay gmail server that individual Gmail users employ. It's primarily intended for single-user applications or devices that need to send emails on behalf of a specific user. It requires:

  • Username: The full Gmail or Google Workspace email address (e.g., [email protected]).
  • Password: An "App password" generated specifically for the application, especially if 2-Step Verification is enabled on the account. Using the regular account password is less secure and often blocked by Google.
  • Ports: Typically 587 (STARTTLS) or 465 (SSL/TLS).

While simpler to set up for individual accounts, this method is generally not scalable for organizational-wide application sending due to its reliance on individual user accounts and their respective sending limits. For more details on configuring this for individual accounts, refer to our guide on Gmail SMTP settings.

3. Restricted SMTP: aspmx.l.google.com:25

This is the most restricted option and is primarily intended for servers within your Google Workspace domain that need to send mail to other internal Google Workspace users, or under very specific circumstances, to external recipients. It uses port 25 and does NOT require authentication.

However, there are critical limitations:

Need to validate your email list before sending?

Bulko offers free email validation, MX checking, and deliverability tools — no signup required.

Try Free Tools →

  • Sender Verification: The sending server's IP address must have a valid reverse DNS (rDNS) record that resolves to your domain, and your domain's SPF record must include the sending server's IP.
  • Internal Only (Mostly): While it can sometimes send to external recipients if SPF/DKIM are perfectly aligned and reputation is good, it's generally discouraged for external mail due to higher filtering risks and lack of explicit authentication.
  • Not for Devices/Apps: This method is rarely used by typical devices or applications and is more for server-to-server mail flow within a controlled environment.

Google Workspace SMTP Relay Configuration Table

Here's a comparison of the three Google SMTP relay options, along with Bulko.io as a dedicated alternative for high-volume sending needs.

Feature smtp-relay.gmail.com (Workspace Admin) smtp.gmail.com (Individual Gmail) aspmx.l.google.com (Restricted) Bulko.io SMTP Relay (Alternative)
Primary Use Case Apps, devices, multi-user servers in Workspace domain Individual user apps, personal devices Internal server-to-server mail within Workspace High-volume transactional & marketing email
Host smtp-relay.gmail.com smtp.gmail.com aspmx.l.google.com smtp.bulko.io
Ports 25, 465 (SSL/TLS), 587 (STARTTLS) 465 (SSL/TLS), 587 (STARTTLS) 25 587 (STARTTLS), 465 (SSL/TLS), 2525 (STARTTLS)
Authentication IP allowlisting or SMTP Auth (Workspace user credentials) SMTP Auth (Gmail/Workspace user & App Password) None (relies on IP/SPF/rDNS) Username/Password (API Key)
Encryption TLS required TLS required TLS (opportunistic) TLS required
Admin Control Yes, via Google Workspace Admin Console No, individual user settings Limited, relies on DNS records Yes, via Bulko.io dashboard
Daily Sending Limit (per user) 10,000 recipients/day 2,000 recipients/day (for Workspace), 500 (for free Gmail) Varies, subject to abuse policies Scalable based on prepaid packages
Pricing Model Included with Google Workspace subscription Free (with Gmail/Workspace account) Free (with Google Workspace) Prepaid, no subscription: $5 for 5,000 emails, $15 for 20,000, $30 for 50,000, $60 for 150,000
Domain Verification SPF/DKIM recommended for sending domain SPF/DKIM for sender's domain SPF/rDNS critical for sending server IP DKIM (selector record) and optional bnc CNAME for Return-Path
Unused Emails Expiry N/A N/A N/A Do not expire

Setting Up smtp-relay.gmail.com: A Step-by-Step Guide

Configuring the dedicated google workspace smtp relay service is done through your Google Workspace Admin console. This guide assumes you want to use IP address allowlisting, which is generally more secure for server-to-application communication.

  1. Sign in to Google Admin console: Go to admin.google.com and sign in with your administrator account.
  2. Navigate to Gmail Settings: From the Admin console Home page, go to Apps > Google Workspace > Gmail.
  3. Locate SMTP Relay Service: Scroll down and click on Routing. Then, find the "SMTP relay service" setting and click on it (or hover and click "Edit").
  4. Configure the SMTP Relay:
    • Allowed senders: Choose "Only addresses in my domains" (recommended) or "Any addresses (not recommended)."
    • Authentication: This is where you define how your applications will be allowed to relay mail.
      • Only accept mail from the specified IP addresses: Select this option for IP allowlisting. This is generally more secure.
      • Require SMTP authentication: Select this if your applications will authenticate with a Google Workspace user's credentials.
    • IP Addresses (if using IP allowlisting): Click "Add" to enter the public IP addresses or IP ranges of the servers or devices that will be sending email through the relay. Use CIDR notation for ranges (e.g., 192.0.2.0/24).
    • Encryption: Ensure "Require TLS encryption" is checked (highly recommended for security).
  5. Save Changes: Click "Save" at the bottom. It may take up to 24 hours for changes to propagate, but often they take effect much faster.
  6. Configure Your Device/Application:

    Once the relay is set up in Google Workspace, configure your application or device with the following SMTP settings:

    SMTP Host: smtp-relay.gmail.com
    SMTP Port: 587 (STARTTLS) or 465 (SSL/TLS)
    Encryption: STARTTLS or SSL/TLS (required)
    Authentication:
      - If using IP allowlisting: No authentication needed in the app (Google authenticates by IP).
      - If using SMTP authentication: Use a Google Workspace user's email and password.

Remember that the sender email address in your application must be an address within your Google Workspace domain for the relay to work correctly.

Common Google Workspace SMTP Relay Errors and Troubleshooting

When setting up a google workspace smtp relay, you might encounter specific SMTP errors. Understanding these helps in quick troubleshooting.

550 5.7.0 Mail relay denied

This is one of the most common errors and indicates that Google is refusing to relay your email. The full error message might look like 550 5.7.0 Mail relay denied [IP address here]. SMTP AUTH is required for message submission. Visit https://support.google.com/mail/answer/10336 for more information.

Causes and Solutions:

  • Incorrect IP Allowlisting: If you're using smtp-relay.gmail.com with IP allowlisting, the sending server's public IP address might not be correctly configured in your Google Workspace Admin console. Double-check the IP addresses entered.
  • Missing SMTP Authentication: If you've configured the relay to require SMTP authentication but your application isn't providing credentials, or is providing incorrect ones, this error will occur.
  • Sender Address Mismatch: The "From" address used by your application might not belong to your Google Workspace domain. The relay typically only allows sending from addresses within your managed domains.
  • Port Issues: While less common for this specific error, ensure you're using the correct port (587 or 465) and encryption (STARTTLS or SSL/TLS). Port 25 is often blocked by ISPs.

For a deeper dive into this and other 550 errors, refer to our guide on SMTP error 550.

421 4.7.0 Temporary system problem

This error typically indicates a transient issue, but it can also point to configuration problems that cause Google to temporarily reject your connection.

Causes and Solutions:

  • Rate Limiting: You might be exceeding Google's sending limits (e.g., 10,000 recipients/day per user for smtp-relay.gmail.com). Google might temporarily throttle or reject your connections.
  • Network Issues: Temporary network problems between your sending server and Google's servers.
  • Suspicious Activity: If Google detects unusual sending patterns or potential spam, it might temporarily block connections.
  • Incorrect TLS/SSL Handshake: Ensure your application is correctly initiating the TLS handshake on the chosen port.

For more information on 421 errors and how to address them, see our article on SMTP error 421.

Google Workspace Sending Limits and Best Practices

While Google Workspace provides a robust smtp relay service gmail, it's crucial to be aware of its sending limits, especially if you're sending transactional or marketing emails.

For the dedicated smtp-relay.gmail.com service, the limit is 10,000 recipients per day per user. This means if you have 10 users in your Workspace account, and your application is configured to send on behalf of one of them, that single user can send to up to 10,000 unique recipients in a 24-hour period. If you have multiple applications sending under different user accounts, those limits apply per user.

For smtp.gmail.com (individual user accounts):

  • Google Workspace accounts: 2,000 recipients per day.
  • Free Gmail accounts: 500 recipients per day.

These limits are designed to prevent abuse and ensure high deliverability for legitimate communications. Exceeding these limits can lead to temporary blocks, error messages like 421, or even account suspension. For more detailed information on Gmail sending limits, you can refer to our documentation.

Best Practices for Google Workspace SMTP Relay:

  • Monitor Sending Volume: Keep track of how many emails your applications are sending to stay within limits.
  • Use Valid Sender Addresses: Always ensure the "From" address used by your application is a legitimate email address within your Google Workspace domain.
  • Maintain Clean Lists: Regularly validate your email lists to remove invalid or inactive addresses. High bounce rates negatively impact your sender reputation.
  • Configure SPF and DKIM: Ensure your domain's SPF records and DKIM signatures are correctly set up to authorize Google's servers to send on your behalf. This is critical for deliverability. You can also check your MX records to ensure proper mail routing.
  • Avoid Spammy Content: Even with Google's excellent infrastructure, sending unsolicited or poorly constructed emails can still lead to messages being flagged as spam.

When Google Workspace SMTP Relay Isn't Enough: Considering Alternatives

While the google workspace smtp relay service is excellent for many business needs, its daily sending limits and primary focus on transactional/internal emails can be a constraint for organizations with high-volume marketing campaigns or extensive cold outreach programs. When you need to send tens of thousands or even hundreds of thousands of emails daily, a dedicated bulk SMTP relay service becomes a more suitable and scalable solution.

This is where platforms like Bulko.io step in. Bulko.io offers a specialized SMTP relay service built for scale, deliverability, and flexibility, designed specifically for marketers and sales professionals.

Here’s how Bulko.io compares as an alternative:

  • Higher Sending Limits: Bulko.io is designed for bulk sending, offering scalable packages that far exceed Google's per-user limits, allowing you to send hundreds of thousands of emails without worrying about daily caps.
  • Flexible Pricing: Bulko.io operates on a prepaid model with no subscriptions. You pay for email credits, and unused emails do not expire.
    • $5 for 5,000 emails
    • $15 for 20,000 emails
    • $30 for 50,000 emails
    • $60 for 150,000 emails
    • Plus, get 500 free emails on signup to test the service.
  • Dedicated Infrastructure: Optimize for cold outreach and marketing, with features like custom DKIM and Return-Path (bnc CNAME) setup to maximize deliverability and branding for your sending domain.
  • Easy Configuration:
    SMTP Host: smtp.bulko.io
    SMTP Ports: 587 (STARTTLS), 465 (SSL/TLS), 2525 (STARTTLS)
    Encryption: TLS Required
    Authentication: Username/Password (API Key)
  • Focus on Deliverability: Bulko.io provides tools and best practices to help you maintain a high sender reputation, which is crucial for successful email campaigns.

If your sending volume regularly approaches or exceeds Google Workspace's limits, or if you require more granular control over your sending reputation and domain authentication for marketing purposes, exploring a specialized SMTP service like Bulko.io is a strategic move.

Key Takeaways

The Google Workspace SMTP Relay service offers robust solutions for sending emails from applications and devices, with smtp-relay.gmail.com being the primary choice for organizational use, supported by IP allowlisting or SMTP authentication. While powerful for transactional and internal communications up to 10,000 recipients per user per day, organizations with higher volume marketing or cold outreach needs may find more scalable and flexible options with dedicated bulk SMTP providers like Bulko.io, which offers prepaid, non-expiring email credits and advanced deliverability features.

Ready to launch your email campaign?

Start with 500 free emails. AI-powered personalization, SMTP rotation, and real-time analytics.

Start Free →