# Connecting Gmail for the SMTP custom email provider

**URL:** <https://community.auth0.com/t/connecting-gmail-for-the-smtp-custom-email-provider/116335>\
**Category:** Get Help\
**Tags:** connections-management-api, management-api\
**Created:** [September 15, 2023, 12:32pm UTC](https://community.auth0.com/t/connecting-gmail-for-the-smtp-custom-email-provider/116335 "2023-09-15T12:32:09Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![adam.maclean00](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/adam.maclean00/32/50903_2.png) [@adam.maclean00](https://community.auth0.com/u/adam.maclean00)\
**Post date:** [September 15, 2023, 12:32pm UTC](https://community.auth0.com/t/connecting-gmail-for-the-smtp-custom-email-provider/116335/1 "2023-09-15T12:32:09Z")

</div>

I am trying to Gmail as a custom SMTP provider. I have used the following settings:

- From field is my email address.
- The host field is [smtp.gmail.com](http://smtp.gmail.com)
- Port is 587.
- The username is my Gmail address
- password is my Gmail password

I can save this information, but when I send a test email I do not receive any email. Any one know what i need to do to get this working.

Thanks

---

<div class="post-metadata">

**Author:** ![brokerx](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/brokerx/32/50582_2.png) [@brokerx](https://community.auth0.com/u/brokerx)\
**Post date:** [October 6, 2023, 4:39pm UTC](https://community.auth0.com/t/connecting-gmail-for-the-smtp-custom-email-provider/116335/2 "2023-10-06T16:39:31Z")

</div>

Did you ever find a solution?

---

<div class="post-metadata">

**Author:** ![brokerx](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/brokerx/32/50582_2.png) [@brokerx](https://community.auth0.com/u/brokerx)\
**Post date:** [October 6, 2023, 5:35pm UTC](https://community.auth0.com/t/connecting-gmail-for-the-smtp-custom-email-provider/116335/3 "2023-10-06T17:35:02Z")

</div>

Hi - I figured it out.

1. Go to Google Admin Console
2. Security-\>Access and Data-\>Less Secure Apps
3. Set to Allow users to manage their access to less secure apps

Then…

1. Go to your personal account
2. Scroll until you see “Less Secure app access”
3. Open it up and now you can toggle it ON

Go back to Auth0 and test and it should work.

Later.

---

<div class="post-metadata">

**Author:** ![hamza-f](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/hamza-f/32/54678_2.png) [@hamza-f](https://community.auth0.com/u/hamza-f)\
**Post date:** [February 9, 2024, 7:21am UTC](https://community.auth0.com/t/connecting-gmail-for-the-smtp-custom-email-provider/116335/4 "2024-02-09T07:21:18Z")

</div>

Sadly, this gets turned off too automatically:

 ![image](https://global.discourse-cdn.com/auth0/original/3X/4/e/4edb3ea5a888f0e7f7b57953c2dc4a423670a0d6.png)

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [August 5, 2024, 2:29pm UTC](https://community.auth0.com/t/connecting-gmail-for-the-smtp-custom-email-provider/116335/5 "2024-08-05T14:29:01Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
