SMTP settings for Gmail

These are the SMTP settings you need to send email using a Gmail or Google Workspace account through a third-party app, website, or email client.

SMTP settings

SettingValue
SMTP serversmtp.gmail.com
Port587 (TLS) or 465 (SSL)
EncryptionTLS or SSL
AuthenticationRequired
UsernameYour full Gmail address (for example, [email protected])
PasswordApp password (not your regular Gmail password)

Notes:

  • Gmail requires authentication for SMTP.
  • If you use two-step verification, you must generate an app password.
  • These settings apply to both free Gmail and Google Workspace accounts.

Before you start

Before using Gmail’s SMTP server, check the following:

  • 2-Step Verification is enabled on your Google account.
  • You have created an app password for the app or service you’re connecting.
  • You are using your full email address as the username.
  • SMTP access is allowed in the app or platform you’re configuring.

If 2-Step Verification isn’t enabled, Gmail may block SMTP access.

Google’s App Passwords interface may look different depending on your account and security settings. If you don’t see the option immediately, make sure 2-Step Verification is fully enabled, or visit the App Passwords page directly.

How to use these settings

  1. Open the email or SMTP settings in your app or platform.
  2. Select SMTP as the outgoing mail server.
  3. Enter smtp.gmail.com as the server address.
  4. Choose port 587 with TLS or 465 with SSL.
  5. Enable authentication.
  6. Enter your full Gmail address and app password.
  7. Save the settings and send a test email.

Common SMTP issues and quick fixes

IssueLikely causeQuick fix
Authentication failedApp password is missing, expired, or incorrectGenerate a new app password and update it in your SMTP settings
Connection timed outPort is blocked or encryption type is incorrectSwitch ports (587 TLS ↔ 465 SSL) and check firewall rules
Emails won’t sendSMTP authentication is disabled or daily sending limit reachedEnable SMTP authentication and check your Gmail sending limits
Access blocked by GoogleTwo-step verification or app passwords are not set upEnable two-step verification and create an app password

Sending limits

Gmail applies daily sending limits:

  • Free Gmail accounts: around 500 emails per day.
  • Google Workspace accounts: up to around 2,000 emails per day.

Limits reset on a rolling 24-hour basis and include all SMTP-sent messages.

Conclusion

Getting your SMTP settings right is the key to reliable sending and smooth email delivery. With the correct server, ports, encryption, and an app password in place, most issues come down to authentication or provider limits, both of which can be resolved quickly with the right settings.

For more clarity around related email standards and behaviour, check out these useful guides from the Warmup Inbox glossary:

Laura Clayton

Laura is an email marketing expert specializing in email warmup strategies to enhance deliverability. She shares concise, actionable insights to help businesses improve their email outreach and connect effectively with their audience.