Using Google/Gmail/Google Workspace as your SMTP Provider

Connect a Gmail or Google Workspace mailbox as a custom SMTP service when you need to send email through Google's outgoing mail servers. This guide explains how to prepare your Google account, create an app password, configure the SMTP service, and test email delivery. It also covers sender-address requirements, connection errors, and Google SMTP limitations. For inbox synchronization, use a supported direct Gmail connection rather than relying on outgoing SMTP alone.


TABLE OF CONTENTS


What Is Google/Gmail/Google Workspace SMTP?

SMTP stands for Simple Mail Transfer Protocol. It is a standard method used to send outgoing email through an email provider's mail servers.

When you configure Gmail or Google Workspace as a custom SMTP service, the connection authenticates with a specific Google mailbox to send outgoing messages.

For example, you can connect an existing Gmail address or a managed Google Workspace mailbox and use that mailbox's authorized credentials for outgoing email.

The connection uses the credentials associated with the selected mailbox. Connecting one Google mailbox does not automatically connect every mailbox associated with the same Google Workspace domain.

Important: A custom SMTP connection is designed for outgoing email. It does not automatically synchronize your Gmail inbox or provide complete two-way Gmail synchronization.


Key Benefits of Using Google as Your SMTP Provider

Google SMTP provides an option for sending outgoing email through an existing Google mailbox. It can be useful when you need a specific mailbox to act as your sending identity and its security configuration permits SMTP authentication.

  • Existing Mailbox: Send outgoing email through a Gmail or Google Workspace mailbox you already use and manage.

  • Recognizable Sender Address: Use the authenticated Google mailbox as the sender address so recipients recognize the email identity.

  • Consistent Sender Configuration: Match the outgoing sender address with the Google mailbox used for SMTP authentication.

  • Service Selection: Configure supported email services and select the service used for outgoing email.

  • Connection Testing: Send test emails to verify the configured sender address and check whether messages reach the intended mailbox.

Prerequisites and Limitations

Prepare the Google mailbox and review its security requirements before configuring SMTP. Using the correct credentials and sender address can help prevent authentication and delivery failures.

Before You Begin

Confirm the following requirements before starting the setup.

  • Google Mailbox Access: Have access to the Gmail or Google Workspace mailbox you want to connect.

  • Email Services Access: Confirm that you can open Settings > Email Services and the available SMTP configuration controls.

  • 2-Step Verification: Enable 2-Step Verification on the Google account used for SMTP.

  • App Password Availability: Confirm that the Google account is eligible to generate an app password.

  • Google Workspace Security Policy: If your managed mailbox cannot create an app password, ask your Google Workspace administrator to review the account's security settings.

  • Sender Address: Plan to use the authenticated Google mailbox as the outgoing sender unless Google recognizes another address as an authorized sender.

Limitations

Google SMTP authentication and sending behavior depend on Google's security policies and the configured email service.

  • Outgoing Email Only: Connecting SMTP does not automatically synchronize incoming Gmail messages.

  • App Password Restrictions: Some Google accounts cannot create app passwords, even when 2-Step Verification is enabled.

  • Google Sending Limits: Google applies sending limits and may restrict messages when those limits are exceeded.

  • Sender Authorization: Google may reject messages sent from an unauthorized From Email address.

  • Delivery Reporting: Third-party SMTP connections may not provide separate delivery-confirmation events.

  • Service Activation: Saving an SMTP service does not necessarily make it the active sending service.

Important: Google's preferred authentication method is Sign in with Google when an application supports it. Use an app password only when the intended SMTP connection requires that authentication method and the Google account permits it.


Create an App Password for Your Google Account

A Google app password is a separate credential used by compatible applications and email clients. Use it to authenticate the SMTP connection without entering your regular Google account password into the SMTP password field.Google requires 2-Step Verification before an eligible account can generate an app password.

Step 1: Sign In to the Correct Google Account

Start by confirming which mailbox you want to connect. This is especially important if you are signed in to multiple Google accounts.

  1. Open your Google account.

  2. Click your profile image or account selector.

  3. Confirm that the selected account is the Gmail or Google Workspace mailbox you want to use for SMTP.

Google account menu showing the selected mailbox.

Select the Google account you want to connect.


Step 2: Open Google Account Security

The Google Account security settings contain the available sign-in and verification controls.

  1. Click Manage your Google Account.

  2. Open Security & sign-in, or Security if your interface uses that label.

  3. Locate How you sign in to Google.

Google account menu showing Manage your Google Account.

Choose Manage your Google Account.

Google Account security settings.

Open the security settings for the selected Google account.


Step 3: Confirm 2-Step Verification

2-Step Verification is required before Google allows an eligible account to generate an app password.

  1. Under How you sign in to Google, open 2-Step Verification.

  2. Check whether 2-Step Verification is already enabled.

  3. If it is disabled, follow Google's prompts to enable it.

  4. Complete any required account verification.

Google Account security settings showing 2-Step Verification status.

Review the 2-Step Verification status before creating an app password.


Step 4: Open App Passwords

After enabling 2-Step Verification, open Google's app-password management page if your account supports it.

  1. Return to the Google account's security settings.

  2. Locate App passwords.

  3. Depending on the Google interface, this option may appear within the 2-Step Verification settings.

  4. Open the app-password creation page.

Note: If App passwords is missing, your account type, verification method, or security policy may prevent the use of app passwords.

Step 5: Create the App Password

Give the app password a recognizable name so you can identify its purpose in your Google security settings.

  1. Find the App name field.

  2. Enter a generic name such as Email SMTP.

  3. Click Create.

  4. Review the generated app password.

Google App passwords screen showing the App name field and Create button.

Enter a name for the SMTP connection and click Create.


Step 6: Copy the App Password

Use the generated app password when configuring the Gmail SMTP service.

  1. Copy the generated app password.

  2. Keep it secure while completing the SMTP setup.

  3. Enter it in the SMTP service's Password field when prompted.

Important: Do not enter your regular Google account password in place of an app password. Never include app passwords in screenshots, documentation, or support tickets.

Google may revoke existing app passwords after you change your Google account password. If authentication stops working after a password change, create a new app password and update the SMTP credentials.


Enable 2-Step Verification in Google Workspace

Google Workspace administrators can control whether managed users are permitted to enable 2-Step Verification. If this security option is unavailable for your mailbox, an administrator may need to review the organization's Google Workspace policies.

The following steps apply to authorized Google Workspace administrators.

Step 1: Open the Google Admin Console

Sign in with the appropriate administrator credentials to review the organization's Google account security settings.

  1. Sign in to the Google Admin console.

  2. Use an administrator account with the permissions required to manage 2-Step Verification settings.

Step 2: Open the 2-Step Verification Settings

Locate the Google Workspace authentication settings to review whether users can enable 2-Step Verification.

  1. Open Security.

  2. Select Authentication.

  3. Open 2-Step Verification.

Google Workspace Admin console showing Security, Authentication, and 2-Step Verification.

Open Security > Authentication > 2-Step Verification in the Google Admin console.


Step 3: Review the Security Policy

Confirm whether the relevant users are allowed to enable 2-Step Verification.

  1. Review the available 2-Step Verification settings.

  2. Find Allow users to turn on 2-Step Verification.

  3. Confirm whether the option is permitted for the affected users.

Step 4: Update the Setting if Appropriate

Only make changes that comply with your organization's security requirements.

  1. If authorized, enable Allow users to turn on 2-Step Verification.

  2. Review the enforcement settings.

  3. Click Save to apply any approved changes.

  4. Ask the mailbox owner to finish setting up 2-Step Verification in their Google account.

Google Workspace settings for allowing users to enable 2-Step Verification.

Review the option that allows Google Workspace users to enable 2-Step Verification.


Step 5: Confirm App Password Availability

Allowing 2-Step Verification does not guarantee that Google will permit app passwords.

  1. Ask the mailbox owner to return to the Google account's security settings.

  2. Confirm that 2-Step Verification is enabled.

  3. Check whether App passwords is available.

  4. If the option remains unavailable, review Google's current account restrictions before continuing.

Note: Personal Gmail accounts do not use the Google Workspace Admin console. Their owners should manage 2-Step Verification directly in their Google account settings.



How to Set Up Gmail or Google Workspace as Your SMTP Provider

After preparing the Google mailbox and app password, configure Gmail as an SMTP service. Saving the configuration adds the service, while activating it determines which supported sending service is used for outgoing email.

Interface Note: Some screenshots show an earlier Email Services layout called Domain Service. Other documented interfaces use SMTP Service or Advanced Settings. Follow the corresponding labels available in your interface.

Step 1: Open Email Services

Start from the available email-service settings to create the connection.

  1. Open Settings.

  2. Select Email Services.

  3. Open SMTP Service, or the corresponding Advanced Settings section if that is the label displayed.

Step 2: Add a New SMTP Service

Add Gmail as the service provider for the mailbox you prepared.

  1. Click + Add Service.

  2. Review the available SMTP providers.

  3. Select Gmail.

The documented Gmail provider option is used for supported Gmail and Google Workspace mailbox connections.

Email Services configuration showing the Add Service option.

Select + Add Service in Email Services.


Step 3: Enter the Google Mailbox Address


Use the complete email address associated with the Google account that generated the app password.

  1. Find the Gmail login or email field.

  2. Enter the full Gmail or Google Workspace email address.

  3. Confirm that the address matches the intended Google mailbox.

Gmail SMTP service configuration showing the email address field.

Choose Gmail and enter the complete Google mailbox address.


Step 4: Enter the Google App Password

Authenticate the SMTP service using the app password generated for the selected Google account.

  1. Locate the Password field.

  2. Paste the generated Google app password.

  3. If SMTP host and port fields are displayed, enter the corresponding Google SMTP settings from the table below.

Gmail SMTP service form showing the password field and other connection settings.

Enter the Google app password in the Password field.


Google SMTP Settings

These values identify the Google outgoing mail server and the credentials used for authentication. Enter the host and port only when your configuration interface requests them.

SMTP SettingValue
ProviderGmail
SMTP Hostsmtp.gmail.com
Port587 with TLS/STARTTLS, or 465 with SSL
Username / Login EmailFull Gmail or Google Workspace email address
PasswordApp password generated for the same Google account
Sender EmailAuthenticated Google mailbox address, unless Google has authorized an alternative sender


Step 5: Save the SMTP Configuration

Save the provider details after reviewing the mailbox credentials and available sender settings.

  1. Complete any remaining required fields in the SMTP configuration form.

  2. Review the entered mailbox address and sender information.

  3. Click Save.

Important: Saving an SMTP service does not necessarily activate it for outgoing email.

Step 6: Set Gmail as the Active Service

Select the Gmail service as the active sending provider when you want outgoing email to use this connection.

  1. Return to the saved email-services list.

  2. Find the Gmail service you added.

  3. Click Set as active.

  4. Confirm the selection when prompted.

The documented service configuration supports saving multiple compatible email services, with one selected as active at a time.


Step 7: Review Reply Handling

Review the available reply-handling setting if you want supported incoming replies to appear in Conversations.

  1. Open the active SMTP service's settings.

  2. Find Enable reply, if the option is available.

  3. Enable it when you need the supported reply-handling behavior.
  4. Save any changes.

Note: Reply handling through an SMTP service is not the same as full Gmail inbox synchronization. Confirm the behavior by sending and replying to a test message.


Test Your Google SMTP Connection

A saved SMTP connection does not guarantee that every message will reach its recipient. Send a test email to confirm that the selected service accepts the sender address and processes outgoing messages.


Step 1: Open a Test Contact

Use a contact with an email address you can access so you can check the delivered message.

  1. Open Contacts.

  2. Select a contact with a valid test email address.

  3. Open the contact's Conversation.


Step 2: Compose a Test Email

Create a message to check outgoing delivery through the configured Google SMTP connection.

  1. In the conversation, select Send Email.

  2. Enter a test subject and message.

  3. Review the From Email field.


Step 3: Verify the Sender Address

The sender address must be accepted by Google for the authenticated mailbox.

  1. Check the address displayed in From Email.

  2. If necessary, change it to the Google mailbox address used for SMTP authentication.

  3. Use a different sender only when Google has authorized that address.

Important: The From Email field may initially use the signed-in user's email address. Review it before sending because an unauthorized address can cause delivery failure.


Step 4: Send and Check the Message

Confirm that the configured service can send a message and that the recipient can receive it.

  1. Send the test email.

  2. Open the recipient's mailbox.

  3. Check the inbox and spam folder for the message.

  4. Review any available sending status or error information.


Step 5: Test Reply Handling

If the active SMTP service provides reply handling, test whether replies appear in Conversations.

  1. Open the delivered test email in the recipient's mailbox.

  2. Reply to the message.

  3. Return to Conversations.

  4. Check whether the reply appears in the relevant conversation.

Conversation email interface used to send and review a Gmail SMTP test message.


Step 6: Review Errors if the Test Fails

Use the provider's returned error message to identify what prevented the email from sending.

  1. Open the affected conversation.

  2. Find the failed email.

  3. Click the available error or warning indicator.

  4. Review the SMTP provider's response.

Google SMTP Limits and Troubleshooting

Google controls SMTP authentication and sending limits, while the email-service settings determine which provider and sender configuration are used. Start troubleshooting with the returned error message, the active SMTP service, and the sender address.

Error: 535-5.7.8 Username and Password Not Accepted

This error indicates that Google rejected the credentials submitted for SMTP authentication. It can occur when the username is incorrect, the app password is invalid, or the Google account's security settings prevent the connection.

How to Resolve the Error

Review the Google account credentials and authentication requirements before attempting another connection.

  1. Confirm that the SMTP username is the complete Gmail or Google Workspace email address.

  2. Verify that the Password field contains a Google app password rather than the regular Google account password.

  3. Confirm that 2-Step Verification is enabled.

  4. Check that the Google account can create and use app passwords.

  5. If needed, generate a new app password for the same Google mailbox.

  6. Update the saved SMTP credentials.

  7. Save the configuration.

  8. Send another test email.

If the app password was copied with extra spaces and authentication fails, check that its characters were entered correctly. Do not modify a valid password unless you are correcting a copying or entry error.

Google Workspace users: If app passwords are unavailable, ask your Google Workspace administrator to review the account's security policy.

Important: Do not replace the app password with your regular Google account password.


Error: Configured Email Service Is Expired

This message concerns the status of the configured email service. It does not, by itself, establish that the Google app password has expired.

How to Review the Configuration

Check the saved service and its active status before changing Google credentials.

  1. Open Settings > Email Services > SMTP Service, or the corresponding configuration area in your interface.

  2. Confirm that the Gmail service is still listed.

  3. Check whether the intended Gmail service is selected as active.

  4. Review the saved email address and available connection settings.

  5. If the interface supports updating or reconnecting the service, review and save valid credentials.
  6. Send a test email.

If the error continues, contact support with the exact error message and the relevant service details. Do not share your Google account password or app password.


Other Common Connection Problems

If the SMTP service saves successfully but sending or reply behavior does not work as expected, review these common causes.

  • From Email Mismatch: Use the mailbox address authenticated with Google SMTP, or another sender address that Google has authorized. An unauthorized sender can prevent delivery.

  • App Password Is Unavailable: Review 2-Step Verification and Google's restrictions on app passwords. For managed mailboxes, consult your Google Workspace administrator.

  • Browser Autofill Changes the Credentials: Recheck the username and app-password fields before saving. If necessary, enter the credentials manually or use another browser.

  • Google Sending Limit Reached: Google imposes sending limits that vary with account and sending conditions. Check Google's current guidance if messages are rejected because of a sending quota.

  • Email Remains Marked Sent: Third-party SMTP may not return a separate delivered event. A Sent status alone does not confirm that the message reached the recipient's inbox.

  • Replies Are Missing from Conversations: Review the active SMTP service's Enable reply option, if available. Send a new test email and reply to it to verify the behavior.

  • App Password Stops Working: Google may revoke app passwords after the Google account password changes. Generate a new app password and update the SMTP service when required.

  • Unused App Passwords: Remove app passwords that are no longer needed through Google account security settings. Do not revoke an app password still required for an active SMTP connection.

Important: Gmail SMTP is not intended as a substitute for a dedicated bulk-email sending solution. Review Google's current sending policies and the requirements of your intended email use case.



Frequently Asked Questions

Q: Does connecting a Google Workspace mailbox connect every mailbox in the company's domain?

No. SMTP authentication uses a specific Google mailbox and its credentials. Connecting one mailbox does not automatically configure other mailboxes in the Google Workspace domain.

Q: Does enabling 2-Step Verification guarantee that App passwords will appear?

No. Google account settings, security methods, and organizational policies can prevent app passwords from being available, even when 2-Step Verification is enabled.

Q: Can I use a different From Email address from the Google mailbox I connected?

Only when Google recognizes the address as an authorized sender. Otherwise, sending may fail. For initial testing, use the authenticated mailbox address.

Q: Does saving the Gmail SMTP service automatically activate it?

Not necessarily. After saving the connection, select the service as active using the available Set as active control.

Q: Does connecting Gmail through SMTP synchronize my Gmail inbox?

No. SMTP is used for outgoing email and does not automatically synchronize the Gmail inbox. A separate supported Gmail connection is needed for inbox-style synchronization.

Q: Will changing the active email service affect messages that were already sent?

No. Changing the active sending service affects subsequent outgoing messages. It does not change messages that were previously sent.

Q: Why do some test emails show Sent instead of Delivered?

Third-party SMTP may not provide a separate delivery-confirmation event. A Sent status does not necessarily confirm inbox delivery. Check the recipient's mailbox and any available provider information.

Q: What happens if I change my Google account password?

Google revokes existing app passwords when the Google account password changes. If the SMTP connection uses a revoked app password, generate a new one and update the saved credentials.

Q: Can I use my regular Google account password for the SMTP connection?

Use the Google app password specified for this SMTP authentication method. Do not substitute your regular Google account password for the SMTP app-password credential.

Q: What should I do if Gmail SMTP rejects my username and password?

Check the complete email address, app password, 2-Step Verification status, and Google account eligibility. If the credentials are invalid or revoked, generate a new app password and test the connection again.


Need Help?

If Gmail or Google Workspace SMTP does not connect or deliver email as expected, review the account security settings, service activation, and sender address. These checks can help identify common authentication and configuration problems.

  • App Passwords Option Is Missing: Confirm that 2-Step Verification is enabled and that the Google account is eligible to create app passwords.

  • Authentication Fails: Confirm the Gmail address and app password belong to the same Google account.

  • Credentials Are Rejected: Generate a new app password when the existing one is invalid or revoked.

  • SMTP Service Is Not Sending: Confirm that the intended service was saved and selected as active.

  • Email Sender Is Rejected: Use the authenticated Google mailbox or a Google-authorized sender address.

  • Message Is Not Received: Check the recipient's inbox and spam folder, then review any returned SMTP error.

  • Replies Do Not Appear: Review reply handling for the active SMTP service and verify the behavior with a new test message.

  • Google Blocks the Connection: Review the Google account's security restrictions and contact your Google Workspace administrator when using a managed mailbox.

If the issue continues, contact support with the email address being connected, the SMTP provider, the exact error message, and screenshots with all credentials hidden.

Security Reminder: Never share Google account passwords, app passwords, or other private authentication credentials in a support ticket or screenshot.