Gmail SMTP settings and sending limits in 2026
Updated:
Gmail’s SMTP server is smtp.gmail.com, on port 465 with SSL or port 587 with TLS. You log in with your full Gmail address and an app password, which needs 2-Step Verification. That works for a script or a contact form, but the limits are low. A personal Gmail account is blocked after more than 500 emails in a day, and a Google Workspace account after 2,000 messages, with at most 100 recipients per message sent over SMTP. For email from an app, a transactional email service is the better fit.
SMTP settings for Gmail
Point your app or plugin at smtp.gmail.com. Use port 465 if it asks for SSL, or port 587 if it asks for TLS or STARTTLS. Turn authentication on, enter your full email address as the username, and use an app password, not your normal password. These settings come from Google’s Workspace guide to sending from apps (opens in a new tab) and its Gmail POP settings page (opens in a new tab).
| Setting | Value |
|---|---|
| SMTP server | smtp.gmail.com |
| Port for SSL (implicit TLS) | 465 |
| Port for TLS (STARTTLS) | 587 |
| Authentication | Required |
| Username | Your full Gmail or Google Workspace address |
| Password | An app password |
Our guide to SMTP ports explains the difference between 465 and 587.
Do you need an app password for Gmail SMTP?
Yes, for any app or device that cannot use Sign in with Google. An app password (opens in a new tab) is a 16-digit passcode that lets such an app use your account, and it only works with 2-Step Verification turned on. Google says app passwords are not recommended and are unnecessary in most cases, because apps that offer Sign in with Google should use that instead.
To create one:
- Turn on 2-Step Verification (opens in a new tab): open your Google Account, select Security and sign-in, then Turn on 2-Step Verification.
- Go to
myaccount.google.com/apppasswordsand create an app password. - Paste the 16 digits into the password field of your app’s SMTP settings.
The option may be missing if your account uses 2-Step Verification only with security keys, is a work or school account, or has Advanced Protection. Google also revokes every app password when you change your account password, so the app stops sending until you create a new one. Gmail no longer supports (opens in a new tab) third-party apps that ask for your Google username and password, and Google Workspace dropped these less secure apps on May 1, 2025, in favor of OAuth.
Gmail sending limits
A personal Gmail account hits its limit when it sends more than 500 emails in a day or addresses more than 500 recipients in one email. A Google Workspace account can send 2,000 messages a day, 500 on a trial, and only 100 recipients per message sent over SMTP. Hit a limit and the account cannot send for up to 24 hours.
| Limit | Personal Gmail | Google Workspace |
|---|---|---|
| Messages per day | 500 | 2,000, or 500 on a trial |
| Recipients per message | 500 | 2,000, of which 500 external |
| Recipients per message sent over SMTP | Not stated | 100 |
| Total recipients per day | Not stated | 10,000 |
| External recipients per day | Not stated | 3,000 |
| Unique recipients per day | Not stated | 3,000, of which 2,000 external |
| After you hit a limit | Sending resumes within 1 to 24 hours | No new messages for up to 24 hours |
The Workspace figures come from Google’s Gmail sending limits in Google Workspace (opens in a new tab) page, which says the daily limits apply over a rolling 24-hour period. The personal account figures come from the Gmail Help page on limits for sending and getting mail (opens in a new tab), which says work and school accounts have their own limits.
Workspace admins have two other servers. The SMTP relay service, smtp-relay.gmail.com on ports 25, 465 or 587, authenticates by IP address and lets each user relay up to 10,000 recipients a day. The restricted server, aspmx.l.google.com on port 25, needs no login but delivers only to Gmail and Google Workspace users.
Can you use Gmail SMTP to send email from your app?
You can, but it is a poor fit for anything past a contact form. The daily caps are low, a burst of signups can block the mailbox for up to 24 hours, and the app depends on one person’s account and app password. Mail also goes out from a Gmail or Workspace mailbox, without the bounce handling and separate streams that transactional email services provide.
The problems in practice:
- Limits. A personal account stops above 500 emails a day, and Workspace allows 100 recipients per SMTP message. A newsletter or a busy store outgrows that fast.
- A shared mailbox. When an app hits the limit, the person who owns the mailbox cannot send either until the block lifts.
- Fragile credentials. Changing the account password revokes the app password and stops the app’s email without warning.
- No delivery tools. Services such as Postmark, Mailgun and Brevo document bounce webhooks and suppression lists, so your app knows when an address fails. A mailbox login does not give your app those events.
What to use instead of Gmail SMTP
Use a transactional email service with SMTP relay. Most have a free plan and paid plans that go far past Gmail’s limits, and moving over is a settings change: swap smtp.gmail.com for the service’s host, keep port 587 and use the service’s credentials. You will need your own domain, since Google’s sender guidelines tell other senders not to impersonate Gmail From addresses.
| Service | Free plan | Daily cap on the free plan | Cost at 10,000 emails a month |
|---|---|---|---|
| Brevo | 9,000 a month | 300 | $17 |
| SendPulse | 12,000 a month | 400, and 50 an hour | $0 |
| Mailjet | 6,000 a month | 200 | $19 |
| Mailtrap | 4,000 a month | 150 | $15 |
| Resend | 3,000 a month | 100 | $20 |
| SMTP2GO | 1,000 a month | 200 | $15 |
| Postmark | 100 a month | Not stated | $15 |
| Amazon SES | One-time credit | 200 in the sandbox | $1 |
SendPulse’s free plan covers 10,000 emails a month only if you stay under its hourly and daily caps. Amazon SES’s price is its à la carte rate, which a new account gets only after cancelling the default Essentials plan. Every new SES account also starts in a sandbox that sends only to verified addresses, at most 200 messages per 24 hours, until AWS grants production access. The best free transactional email services and the best SMTP relay services rank these options, and the Brevo review, SMTP2GO review and Amazon SES review cover setup. Once you switch, set up SPF, DKIM and DMARC for your domain.
Frequently asked questions
What are the Gmail SMTP settings?
Server smtp.gmail.com, port 465 for SSL or port 587 for TLS, authentication on, your full Gmail or Google Workspace address as the username and an app password as the password.
How many emails can I send per day with Gmail SMTP?
A personal Gmail account hits its limit when it sends more than 500 emails in a day. A Google Workspace account allows 2,000 messages a day and 100 recipients per message sent over SMTP.
Do I need an app password for Gmail SMTP?
Yes, for apps and devices that cannot use Sign in with Google. App passwords only work with 2-Step Verification turned on, and Google revokes them when you change your account password.
Can I use Gmail SMTP for my website or app?
For a low-volume contact form it works, but the daily limits and the app password make it fragile. A transactional email service such as Brevo, SMTP2GO or Amazon SES sends from your own domain, with paid plans that go past Gmail’s limits and with bounce handling.
What is the difference between smtp.gmail.com and smtp-relay.gmail.com?
smtp.gmail.com logs in as one user with an app password and allows 2,000 messages a day on Workspace. smtp-relay.gmail.com is the Workspace SMTP relay service, which authenticates by IP address and allows up to 10,000 recipients per user per day.
Sources
Prices and features come from each vendor's own pages, and other facts from the pages listed here, read on the dates shown. Prices exclude sales tax.
- Send email from a printer, scanner, or app (Google Workspace Help) (opens in a new tab), read November 18, 2026
- Read Gmail messages on other email clients using POP (Gmail Help) (opens in a new tab), read November 18, 2026
- Add Gmail to another email client (Gmail Help) (opens in a new tab), read November 18, 2026
- Sign in with app passwords (Google Account Help) (opens in a new tab), read November 18, 2026
- Turn on 2-Step Verification (Google Account Help) (opens in a new tab), read November 18, 2026
- Gmail sending limits in Google Workspace (Google Workspace Help) (opens in a new tab), read November 18, 2026
- Limits for sending & getting mail (Gmail Help) (opens in a new tab), read November 18, 2026
- Email sender guidelines (Gmail Help) (opens in a new tab), read November 18, 2026