SMTP settings for Gmail
Settings for sending mail through Gmail: SMTP server smtp.gmail.com, 465 (SSL/TLS). Read from the provider's own help pages on 2026-10-19.
Settings
Username and password
- Sign-in method stated on the page read: App password.
- Use the username your provider shows beside these settings. Many mailbox providers use the full email address.
- Put the app password or generated code the sign-in method names into the password field. Do not paste your everyday account password.
Connect it to a sending tool
- In the tool you send from, add a mailbox and choose the custom IMAP and SMTP option. ColdAgentAI connects mailboxes that sign in with a password, app password or key over IMAP and SMTP. IMAP and SMTP mailboxes in ColdAgentAI
- Enter smtp.gmail.com as the SMTP server. Use one of the ports listed under settings (465) and set the security mode shown beside it.
- Sign in with the method the page states: App password.
- If your tool reads replies, it also needs the provider's IMAP host and port from its help page.
- Send one test message to an address you own and open it to check the sender, the subject and where it landed.
- Keep each mailbox's daily sending modest and let volume rise gradually. Provider limits are compared on the sending limits page. SMTP sending limits compared
Common errors
| Error | Usual cause | What to try |
|---|---|---|
| 535 authentication failed | The username or password was refused. An everyday account password is often refused when the provider wants a different credential. | Re-check the username, then use the kind of credential the sign-in method above names. |
| 534 or 5.7.9 app password needed | The provider wants a stronger sign-in than a plain password, such as an app-specific password. | Turn on the provider's two-step setting if it asks for one, create an app password, and use it in the password field. |
| 530 authentication required | The server wants you to sign in before it takes mail, or the secure connection was not set up first. | Switch authentication on in your tool and set the security mode that matches the port you chose. |
| 554 message rejected | The server refused the message: the sender address is not allowed for this login, the content or recipient was blocked, or a policy limit was hit. | Send from the address that belongs to the login, read the text after the code, and try one plain test message. |
| 421 service not available | A temporary refusal, usually too many connections or messages in a short time. | Wait, lower your sending speed, and retry. Repeated 421 replies mean you are over a limit. |
| Timeout or connection refused | Your network blocks the port, the host name has a typo, or the security mode does not match the port. | Try another port listed for this provider, check the host spelling, and match SSL/TLS or STARTTLS to the port. |
Sending limits
| Limit | Figure | Source |
|---|---|---|
| Daily | 500 emails sent in a day | https://support.google.com/mail/answer/22839 |
| Per message | 500 recipients in a single email | https://support.google.com/mail/answer/22839 |
Compare every provider on the sending limits page.
Sources
- https://support.google.com/a/answer/176600Read on 2026-10-19
- https://support.google.com/mail/answer/7126229Read on 2026-10-19
- https://support.google.com/mail/answer/22839Read on 2026-10-19
Questions
What is the SMTP server for Gmail?
The page we read gives smtp.gmail.com. We read it on 2026-10-19.
Which port and security mode does Gmail use for sending?
The page states 465 (SSL/TLS). Choose the security mode that matches the port.
How do I sign in to Gmail from a sending tool?
The page states: App password. Use the credential that method names rather than your everyday password.
What are the sending limits for Gmail?
Daily: 500 emails sent in a day; Per message: 500 recipients in a single email. Check the source for the current figure before planning volume.
Where do these settings come from?
They come from Gmail's own help pages, read on 2026-10-19. Spot a setting that changed? Write to hello@coldagentai.com.