# Test the SMTP with Gmail

![](/files/-MZQgOo5mxCnvJ4-poy3)

Everyone loves Gmail! It's easy and very popular. Well, not really for the production server integration to be honest. Gmail does provide an SMTP integration feature, but there are some limitations. That being said, for testing purposes, it's useful and free to use.

## Prerequisites

First of all, you should allow the 'Less secure apps' on your Google account. Google is marking the SMTP access as "insecure" based on their policy, so this is required to make your account for the SMTP emailing.

You could enable it [here](https://myaccount.google.com/lesssecureapps) in Google's Less secure app access section.

If you are using a 2FA, you might need to go through one more step. Google asks you to generate an "[App Password](https://support.google.com/accounts/answer/185833?hl=en)" in order to use a less secure app. Which is like a temporary password only for your less secure app access.

You can make an app password [here](https://myaccount.google.com/apppasswords). Make sure to make a memo of the password coming from Google somewhere. This is required on the HollaEx Kit Email Configuration.

## Configuring SMTP

* Host: smtp.google.com
* Port: 465
* Username: `<YOUR-FULL-GMAIL-ADDRESS>`
* Password: `<APP-PASSWORD-YOUVE-GENERATED>`

![](/files/-MZQjv-ElX-iomN6eRtS)

The configuration will be similar to the screenshot above.

Now, you'll get emails from your exchange with your Gmail account. Unfortunately, Google only allows 100 emails per day with SMTP. Which is not enough at all for serious production exchanges. We recommend you  look for a proper SMTP email provider such as [AWS SES](https://aws.amazon.com/ses/?nc1=h_ls) or [Mailgun](https://mailgun.com) for production use.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.hollaex.com/how-tos/set-up-the-smtp-email/test-the-smtp-with-gmail.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
