# Monitored Inbox Settings not taking Gmail details

**URL:** <https://forum.mautic.org/t/monitored-inbox-settings-not-taking-gmail-details/19562>\
**Category:** Product Support\
**Created:** [May 22, 2021, 8:07am UTC](https://forum.mautic.org/t/monitored-inbox-settings-not-taking-gmail-details/19562 "2021-05-22T08:07:51Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![ashishajmani](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ashishajmani/32/608_2.png) [@ashishajmani](https://forum.mautic.org/u/ashishajmani)\
**Post date:** [May 22, 2021, 8:07am UTC](https://forum.mautic.org/t/monitored-inbox-settings-not-taking-gmail-details/19562/1 "2021-05-22T08:07:51Z")

</div>

**Your software**  
My Mautic version is: 3.3.1  
My PHP version is: 7.4.18

When I am trying to set “Monitored Inbox Settings” for Gmail, it says

“Error communicating with the IMAP server: Can not authenticate to IMAP server: [AUTHENTICATIONFAILED] Invalid credentials (Failure)”

Cant Gmail IMAP settings be used ?

Hello experts, any hints? @mikew, @joeyk

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [May 22, 2021, 3:07pm UTC](https://forum.mautic.org/t/monitored-inbox-settings-not-taking-gmail-details/19562/2 "2021-05-22T15:07:23Z")

</div>

I don’t use this, but I heard that you need to allow less secure apps with Google to be able to fetch the inbox. But I’m not sure.

---

<div class="post-metadata">

**Author:** ![ashishajmani](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ashishajmani/32/608_2.png) [@ashishajmani](https://forum.mautic.org/u/ashishajmani)\
**Post date:** [May 22, 2021, 3:19pm UTC](https://forum.mautic.org/t/monitored-inbox-settings-not-taking-gmail-details/19562/3 "2021-05-22T15:19:10Z")

</div>

Oh ok. Is there any other method also to check unsubscribe or bounce mails ?

I will check per your suggestion.

Thanks.

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [May 22, 2021, 3:33pm UTC](https://forum.mautic.org/t/monitored-inbox-settings-not-taking-gmail-details/19562/4 "2021-05-22T15:33:42Z")

</div>

Maybe try to allow i less secure apps?

[https://support.google.com/accounts/answer/6010255?hl=en](https://support.google.com/accounts/answer/6010255?hl=en)

---

<div class="post-metadata">

**Author:** ![ashishajmani](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ashishajmani/32/608_2.png) [@ashishajmani](https://forum.mautic.org/u/ashishajmani)\
**Post date:** [May 22, 2021, 4:02pm UTC](https://forum.mautic.org/t/monitored-inbox-settings-not-taking-gmail-details/19562/5 "2021-05-22T16:02:58Z")

</div>

it seems logics are contradictory to each other

1. we need to enable app specific password so that mautic can be connected. For enabling app specific password, you need to enable 2 way authentication in google - which is done and app specific password is generated.

2. Now, the twist: if you want to enable low secure settings, 2 way authentication needs to be off

both point 1 and 2 are contradictory - confused :~(

---

<div class="post-metadata">

**Author:** ![ashishajmani](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ashishajmani/32/608_2.png) [@ashishajmani](https://forum.mautic.org/u/ashishajmani)\
**Post date:** [May 22, 2021, 4:16pm UTC](https://forum.mautic.org/t/monitored-inbox-settings-not-taking-gmail-details/19562/6 "2021-05-22T16:16:46Z")

</div>

this is the error I am getting while trying to enable mailbox.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/6/64a20ca63a038a0da450b29ad8faca3756fa51c0.png)

---

<div class="post-metadata">

**Author:** ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)\
**Post date:** [May 22, 2021, 4:21pm UTC](https://forum.mautic.org/t/monitored-inbox-settings-not-taking-gmail-details/19562/7 "2021-05-22T16:21:02Z")

</div>

I found that I had to create an app-specific password to use a Gmail account for SMTP when the account had 2FA enabled, so I guess that it is the same here as you are connecting in the same way.

Here’s the documentation I followed:

[https://support.google.com/accounts/answer/185833?hl=en](https://support.google.com/accounts/answer/185833?hl=en)

No need in my case for less secure apps, but it did require 2FA on - which it should really be by default nowadays!

---

<div class="post-metadata">

**Author:** ![ashishajmani](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ashishajmani/32/608_2.png) [@ashishajmani](https://forum.mautic.org/u/ashishajmani)\
**Post date:** [May 22, 2021, 4:34pm UTC](https://forum.mautic.org/t/monitored-inbox-settings-not-taking-gmail-details/19562/8 "2021-05-22T16:34:43Z")

</div>

thanks.

so we are saying that I need not put any settings in " Monitored Inbox Settings" - but how I would be able to keep check on unsubscribed and bounce emails then ?

Thanks.

---

<div class="post-metadata">

**Author:** ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)\
**Post date:** [May 22, 2021, 4:43pm UTC](https://forum.mautic.org/t/monitored-inbox-settings-not-taking-gmail-details/19562/9 "2021-05-22T16:43:49Z")

</div>

You put your Gmail creds in there and use an app password rather than the account password, however Gmail is not recommended to be used for bounce / unsubscribe monitoring:

> Some email services overwrite the return-path header with that of the account’s email (Gmail, Amazon SES). In these cases, **IMAP bounce monitoring will not work**.

Source: [Bounce management | Mautic](https://docs.mautic.org/en/channels/emails/bounce-management#monitored-email)

I’d suggest looking at a different provider for this reason if you were intending to use this for bounce/unsubscribe management. There are several options on the page above in the docs of providers who do this via webhooks or API services.

---

<div class="post-metadata">

**Author:** ![ashishajmani](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ashishajmani/32/608_2.png) [@ashishajmani](https://forum.mautic.org/u/ashishajmani)\
**Post date:** [May 22, 2021, 4:48pm UTC](https://forum.mautic.org/t/monitored-inbox-settings-not-taking-gmail-details/19562/10 "2021-05-22T16:48:45Z")

</div>

Sure. Thanks. would go through doc and your suggestion for webhook.

---

<div class="post-metadata">

**Author:** ![resoluty](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/resoluty/32/526_2.png) [@resoluty](https://forum.mautic.org/u/resoluty)\
**Post date:** [February 10, 2022, 1:40pm UTC](https://forum.mautic.org/t/monitored-inbox-settings-not-taking-gmail-details/19562/11 "2022-02-10T13:40:07Z")

</div>

Gentlemen, we were unable to configure Gmail Workspace on Mautic 4. We have already tried numerous solutions without success. We have already applied the solutions from this link ([https://forum.mautic.org/.../smtp-problem-cannot.../3995/2](https://forum.mautic.org/.../smtp-problem-cannot.../3995/2)) suggested here on the forum, also without success. Has anyone done this integration and can help me? Thanks.

---

<div class="post-metadata">

**Author:** ![keyleads](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/keyleads/32/957_2.png) [@keyleads](https://forum.mautic.org/u/keyleads)\
**Post date:** [March 16, 2022, 2:46am UTC](https://forum.mautic.org/t/monitored-inbox-settings-not-taking-gmail-details/19562/12 "2022-03-16T02:46:18Z")

</div>

I am able to connect to my gmail using app password but it will not save my password settings. When I click “Test connection and fetch folders” I get a success message and am able to choose my monitored inbox. But then when I apply and save the settings my password disappears and so does my monitored inbox. So for me the connection is not an issue but rather maintaining the connection after I save settings. Any suggestions on how to fix this?
