Warmy Blog

Gmail SMTP Settings: A Step-by-Step Guide to Configuring Your Gmail SMTP

Talk with a deliverability expert!

No need to flee, it’s totally free


    Email transmission via the internet is made possible by the foundation of email communication, Simple Mail Transfer Protocol, or SMTP. Efficient email management depends on the SMTP settings being configured correctly, which guarantees that messages are sent and received consistently without problems like delays or data loss. A key component of email delivery speed and security, SMTP settings specify the guidelines and parameters by which an email server interacts with other email systems.

    Among the most well-known email services, Gmail, lets users send emails over its SMTP server. For people and companies wishing to use custom domain names while taking advantage of Gmail’s strong infrastructure, this is especially helpful. When using Gmail for SMTP, customers may take use of all the security and dependability that Google provides, including as spam prevention, easy setup, and high delivery rates. With effective and safe email handling, this configuration improves the whole communication experience for both personal and business contact.

    What is a Gmail SMTP Server?

    Simple mail transfer protocol, or SMTP, is an Internet email delivery protocol. Emails are correctly routed from the sender’s email server to the recipient’s email server thanks to its provision of the required instructions for email servers to communicate with one another. Effective and dependable email delivery depends on SMTP to manage both sending outgoing emails and relaying emails from server to server.

    Sending emails with Gmail accounts is made possible via Google’s implementation of the SMTP protocol, the Gmail SMTP server. Users who want to send emails using their Gmail interface or through third-party apps utilizing their Gmail credentials may find this service especially helpful.

    Here are certain particulars regarding the SMTP server of Gmail:

    • SMTP server address: smtp.gmail.com
    • SMTP username: Your full Gmail address (e.g., yourusername@gmail.com)
    • SMTP password: Your Gmail password
    • SMTP port (TLS): 587
    • SMTP port (SSL): 465

    Users of Gmail can take advantage of its security features, such spam protection and two-factor authentication, by using the SMTP server. Furthermore, it makes sure that emails sent via Gmail’s SMTP are less likely to be reported as spam, which raises the email content’s deliverability and reliability. For companies and people that use email for professional correspondence, this is especially crucial.

    Want to know more? Read also – What is SMTP and how does the SMTP server work?

    Why Should You Use Gmail as an SMTP Server?

    Using Gmail as an SMTP server has various advantages over other SMTP providers, especially with regard to dependability, security, and usability. The following are the main justifications why people and companies might select the SMTP server of Gmail:

    1. High Reliability, Google, one of the biggest IT firms globally, is backing Gmail’s infrastructure and is renowned for its dependable, scalable, and resilient systems. Sending emails is made reliable by this, which guarantees high availability and little downtime.
    2. Strong Security Features. TLS (Transport Layer Security) encryption of emails in transit automatically, robust phishing defenses, and two-factor authentication (2FA) are just a few of Gmail’s industry-leading security features. Sensitive data is safeguarded by these measures, which also lower the possibility of unwanted email account access.
    3. Google’s advanced algorithms assist in identifying and removing spam and harmful emails. By doing this, the user’s inbox is not only protected but also their email account’s reputation is preserved, which lowers the possibility that other email servers would flag their outgoing emails as spam.
    4. Easily connected with a variety of SMTP-capable apps and devices is Gmail’s SMTP server. This streamlines setup by enabling users to send emails from CRM systems, third-party email clients, or even custom applications utilizing their Gmail account.
    5. Scalability. Without users having to maintain their own email servers, Gmail’s infrastructure can handle growing email volumes as business needs do. Both big and small companies will find it to be a great option because of its scalability.
    6. Cost-Effective. Because Gmail is a component of the larger Google Workspace services—which also include other helpful features like Google Drive, Google Calendar, and Google Docs—using it as an SMTP server can be affordable for individuals and small enterprises. Buying a different email delivery service may be more expensive than this combined service.
    7. Emails sent via Gmail’s SMTP server gain from Google’s solid reputation as an email service. Because of this reputation, deliverability rates rise and recipients’ spam folders are less likely to contain emails.

    For many customers, Gmail is an appealing SMTP server choice because of its dependability, sophisticated security features, and ease of use, which helps to guarantee that their connections are both efficient and safe.

    How to Configure Gmail SMTP Server Settings

    Step 1: Enable Two-Factor Authentication (Recommended)

    For added security, it is highly recommended to enable two-factor authentication (2FA) on your Gmail account. This can be done through your Google account settings under the “Security” tab.

    Step 2: Generate an App Password

    1. Go to your Google Account settings.
    2. Select “Security” from the left sidebar.
    3. Under “Signing in to Google,” find “App Passwords” and click it.
    4. You might need to sign in again to access this page.
    5. At the bottom, click “Select app” and choose the app you’re using.
    6. Click “Select device” and choose the device you’re using.
    7. Click “Generate” and follow the instructions to generate the app password. This is what you will use as the SMTP password.

    Step 3: Configure SMTP Settings in Your Email Client

    With your Gmail account and app password ready, you can now configure the SMTP settings in your email client:

    • SMTP server address: smtp.gmail.com
    • SMTP username: Your full Gmail address (e.g., yourusername@gmail.com)
    • SMTP password: The 16-character app password generated if you have 2FA enabled, otherwise your Gmail password.
    • SMTP port (TLS): 587
    • SMTP port (SSL): 465
    • Security: Choose TLS/SSL based on the port you are using.

    Step 4: Enter Additional Settings (if needed)

    Some email clients require additional settings or adjustments:

    • Require sign-in. Check this option, as authentication is required to send emails through Gmail’s SMTP server.
    • Outgoing server requires authentication. Yes, it’s typically checked by default.
    • Use the same settings as my incoming mail server. Often selected if you’re using the same service for incoming and outgoing emails.

    Step 5: Test the Configuration

    Send a test email after configuring your email client’s SMTP settings to make sure everything is operating as it should. To be sure the outgoing emails are being sent flawlessly, check them.

    How to Configure Gmail POP3 Settings

    Emails from a distant server are retrieved to a local client using the email access protocol POP3, or Post Office Protocol version 3. POP3 copies emails from a server to a single PC and subsequently removes them from the server. This enables you to manage your emails locally or with restricted internet access. Nevertheless, unless set up especially to leave copies on the server, POP3 is not the best option for viewing your email from several devices because it usually deletes the emails from the server after downloading.

    When to Use POP3

    Emails from a distant server are retrieved to a local client using the email access protocol POP3, or Post Office Protocol version 3. POP3 copies emails from a server to a single PC and subsequently removes them from the server. This enables you to manage your emails locally or with restricted internet access. Nevertheless, unless set up especially to leave copies on the server, POP3 is not the best option for viewing your email from several devices because it usually deletes the emails from the server after downloading.

    When to Use POP3:

    • You need to access your emails offline.
    • You prefer all your emails stored locally and not on the server.
    • You use only one device to check your emails.
    • You want to ensure a clean server inbox, with all emails stored on your personal computer.

    How to Enable and Configure POP3 in Gmail

    Step 1: Enable POP in Gmail

    1. Sign in to your Gmail account.
    2. Click on the gear icon in the upper right corner to open Settings.
    3. Go to the “See all settings” button.
    4. Navigate to the “Forwarding and POP/IMAP” tab.
    5. In the “POP download” section, choose the option “Enable POP for all mail” or “Enable POP for mail that arrives from now on” depending on your preference.
    6. Below this, in the “When messages are accessed with POP” section, select what you want Gmail to do with your messages after your POP client or device has accessed them. To keep copies in your Gmail inbox, choose “keep Gmail’s copy in the Inbox.”
    7. Click on “Save Changes” at the bottom of the page.

    Step 2: Configure Your Email Client

    1. POP server: pop.gmail.com
    2. Port: 995
    3. Username: Your full Gmail address (e.g., yourusername@gmail.com)
    4. Password: Your Gmail password (If you have two-factor authentication enabled, you will need to generate and use an app-specific password.)
    5. Security: SSL (Use SSL for encrypted communication or select ‘Use secure connection (SSL)’).

    Step 3: Configure Additional Settings

    Should you intend to access your email from several devices, make sure your email client is configured to leave a copy of the emails on the server. Usually located in the advanced options area of your email program is this option.

    Step 4: Test Your Setup

    Test your POP settings by sending yourself an email. Confirm operation by verifying the sending and receiving capabilities.

    How to Configure Gmail IMAP Settings

    Internet Message Access Protocol (IMAP) is a technique for remote client email message access to mail server. IMAP enables two-way synchronization between the email client and the mail server, unlike the earlier Post Office Protocol (POP) which downloads email from a server to a PC. It follows that whatever you do in the email client is mirrored on the server. An email you read on your smartphone, for example, appears as read on your desktop client as well.

    Advantages of Using IMAP

    For viewing your emails on several devices, IMAP synchronizes the email clients and keeps the same state across all of them.

    • Internet-based. Since emails are kept on the server, they are available from any device with an Internet connection.
    • Space Economy. Emails are saved on the server and are not downloaded locally on devices (unless otherwise noted).
    • Organize your emails into folders, delete them, or mark them as read all right on the server with centralized management, saving you from having to do it on each device.
    • Selective downloading lets you save bandwidth by letting you see headers and choose which emails to download and read.

    How to Configure Gmail IMAP Settings

    Step 1: Enable IMAP in Gmail

    1. Sign in to your Gmail account.
    2. Click on the gear icon in the upper right corner to open the Settings menu.
    3. Go to the See all settings.
    4. Click on the Forwarding and POP/IMAP tab.
    5. In the IMAP Access section, select Enable IMAP.
    6. Click Save Changes at the bottom of the page.

    Step 2: Configure Your Email Client

    To set up your email client, use the following settings:

      • IMAP server: imap.gmail.com
      • Port: 993
      • Require SSL: Yes (Use SSL/TLS)
      • Username: Your full Gmail address (including @gmail.com)
      • Password: Your Gmail password (If you use two-factor authentication, you might need to generate an app-specific password.)

    Step 3: Adjust IMAP Settings in Gmail (Optional)

    After enabling IMAP, you can customize how IMAP behaves. For instance:

    • Folder Size Limits. You can limit the number of messages synchronized to your mail client to increase performance.
    • Label Handling. Choose which Gmail labels are visible in your IMAP client. This is useful if you don’t want certain emails or categories to sync with your email client.
    1. In the Gmail settings under the Forwarding and POP/IMAP tab, you can find various options for handling IMAP.
    2. Customize the settings according to your preferences and click Save Changes.

    G Suite/Google Workspace SMTP Relay Settings

    With Google Workspace’s (formerly G Suite’s) SMTP relay service, you can send emails from your company using either authenticated SMTP credentials or IP addresses. Sending a lot of mails or communications on behalf of your company makes this service quite helpful.

    Differences Between General Gmail and Google Workspace SMTP Settings

    1. Authentication. Google Workspace SMTP relay does not require sender identity verification through the username and password if you authenticate using the IP address.
    2. Sending Limits. Google Workspace SMTP relay has higher sending limits compared to general Gmail SMTP settings, which is ideal for enterprises and mass mailing scenarios.
    3. Use Case. Google Workspace SMTP relay is intended for business and organizational use, whereas Gmail SMTP is more suited for personal email communication.

    Configuration Guidelines for G Suite/Google Workspace Users

    Step 1: Enable SMTP Relay in Google Workspace Admin Console

    1. Go to the Google Admin console (admin.google.com).
    2. Click on Apps > Google Workspace > Gmail > Advanced settings.
    3. In the Routing section, find the setting for SMTP relay service and click Configure or Add another.
    4. Enter the configuration information for your SMTP relay:
      • Name of the SMTP relay service
      • Allowed senders: Choose between only addresses in your domains or any addresses.
      • Authentication: Choose whether to require SMTP Authentication or to identify by IP address.
      • Encryption: Select “Require TLS encryption”.

    Step 2: Configure Your Email Server or Application

    Use the following settings in your email server or application that will connect to the Google SMTP relay:

      • SMTP server address: smtp-relay.gmail.com
      • SMTP port: Typically 587 (with STARTTLS) or 25; SSL is not supported.
      • Authentication (if required): Use Google Workspace domain credentials.

    Step 3: Update Firewall Settings

    Ensure that your firewall rules allow outgoing connections to smtp-relay.gmail.com on the appropriate ports.

    Key Restrictions on Gmail SMTP Use

    1. Sending Limits. Gmail restricts the number of emails you can send per day to 500 messages for personal Gmail accounts and 2,000 messages for Google Workspace accounts. This limit is imposed to deter spamming and maintain the quality of the service.

    2. Attachment Size. The maximum size for attachments with email sent via SMTP is 25MB. Larger files require the use of Google Drive links.

    3. Connection Limits. Gmail limits the number of simultaneous connections to its SMTP servers. Typically, users should not use more than 2 concurrent connections.

    4. Authentication and Encryption. Gmail requires that SMTP connections use SSL/TLS to secure email transmissions. Without proper encryption, Gmail will not accept SMTP connections.

    5. Recipient Limits. There is a limit to the number of recipients per message and per day. For example, an email can address up to 100 recipients in the To, Cc, and Bcc fields combined.

    6. Spam and Abuse Monitoring. Gmail actively monitors outgoing emails for spam and abusive content. Accounts detected sending spam or malicious content may be suspended or limited.

    Explanation of 'Less Secure Apps' in Gmail

    “Less secure apps” in the context of Gmail are programs and gadgets that send and receive emails using less secure, antiquated methods of sign-in. These apps usually just allow your username and password to access your Gmail account; they do not support the most recent security measures, such as OAuth 2.0, which offers extra levels of safety.

    Google categorizes these apps as “less secure” since they are more prone to attempts at takeover. Without any more verification procedures (like two-factor authentication), someone may access your email if they managed to get your username and password.

    Steps to Enable or Disable Access

    Google has progressively tightened security by discouraging the use of less secure apps. Here’s how you can manage the settings related to less secure apps:

    Step 1: Access Your Google Account Settings

    1. Sign in to your Google Account.
    2. Navigate to the Security section of your account settings.

    Step 2: Managing Access for Less Secure Apps

    • For Personal Gmail Accounts: As of late 2020, Google no longer allows users to enable the “Less secure apps” setting for new devices. For accounts that had this setting enabled before, it was phased out starting June 15, 2020. Users are encouraged to use more secure methods to access their accounts, such as setting up App Passwords (which requires two-factor authentication) or using OAuth 2.0.

    • For Google Workspace Accounts: Admins can control whether users in their organization can use less secure apps:

      1. Go to the Admin console (admin.google.com).
      2. Click on Security > Basic settings.
      3. Under “Less secure apps”, choose the option that suits your security needs:
        • Allow users to manage their access to less secure apps
        • Disallow access to less secure apps (recommended for enhanced security)

    Step 3: Encourage Secure App Usage

    Regardless of the settings, encouraging the use of more secure applications and authentication methods is recommended. Using apps that support OAuth authentication will significantly enhance your account’s security.

    Implications for Email Security

    Enabling Less Secure Apps:

    • Pros: Allows older or simpler mail clients and devices to access Gmail.
    • Cons: Increases the vulnerability of your account to unauthorized access, as it only relies on username and password for authentication.

    Disabling Less Secure Apps:

    • Pros: Greatly improves security by ensuring that only applications with modern authentication methods can access your account.
    • Cons: May prevent some older devices and applications from accessing your Gmail account unless they are updated or replaced.

    Troubleshooting Gmail SMTP Server Configuration

    Popular Problems with Gmail SMTP Configuration
    Sometimes establishing third-party email clients can result in a few typical problems while setting up Gmail’s SMTP server. The following list of common issues users run across:

    1. Authentication Errors. These occur when an app-specific password is not used or when two-factor authentication is enabled but the username or password is wrong.
    2. Failures or Timeouts of Connection. These problems arise when the SMTP server settings are off, such the server address or port number.
    3. SSL/TLS Errors. A safe connection to Gmail’s SMTP server may be thwarted by incorrect security configurations.
    4. Sending restrictions Reached. Your SMTP service may be temporarily blocked if you exceed the rigorous daily email sending restrictions set by Gmail.
    5. Blocked by Google for Security Reasons. Occasionally, particularly from unfamiliar devices or locations, Google may prohibit an attempt to log in using SMTP if it appears strange or less secure.

    Enhancing Email Campaign Success with Warmy.io

    warmy dashboard

    Warmy.io is an email deliverability solution made to raise the likelihood that your emails will end up in recipients’ inboxes instead of their spam folders, therefore increasing the success rate of your email campaigns.

    Warmy.io helps to improve your sender reputation with email service providers by modeling exchanges and engagements with your emails, such opening and marking them as essential.

    In particular for new domains or email accounts that need to build their trust, this “warming up” procedure is essential. Warmy.io also offers statistics and actionable insights so you may monitor your development and make data-driven choices to maximize your email campaigns.

    Businesses can enhance general deliverability, drastically lower the chance of their emails being reported as spam, and make sure their crucial communications go to the right people by using Warmy.io.

    Ready to ensure your emails reach their intended targets? Use Warmy.io’s comprehensive email deliverability test to assess your email setup. Check your deliverability status, scan for blacklisting, evaluate spam likelihood, and verify authentication measures. Don’t let your messages get lost in the shuffle — start your free deliverability test with Warmy.io today and take control of your email success!


    Sending your emails safely and successfully requires correct configuration of the Gmail SMTP settings. Not only will your email communications be more dependable when the SMTP server is configured correctly, but you will also uphold strict security measures that shield your account and your communications from unwanted access and any cyberattacks. Gmail’s sending limits and the suggested security measures can also help you avoid typical problems like blocked accounts and undelivered messages.

    To avoid problems including authentication failures or connection failures, it is imperative to carefully follow the setup procedures and confirm every configuration parameter. Correct configuration of these variables can greatly increase the effectiveness of your email delivery and general communication. Recall that in the modern digital age, professional and efficient communication is based on a well-configured email client. Thus, to maximize the efficiency of your email exchanges, make sure your Gmail SMTP settings are set up correctly.

    Scroll to Top