Though it is simple configuration steps in HCI, I spent lot of time understanding how Gmail is accepting authentication.. I would like to share my experiences on this.
I am assuming readers has basic knowledge of creating IFlow and Sender SOAP communication channel in HCI.
Scenario: SOAP to MAIL
Mail communication channel parameters
Deploy Gmail Credentials in the Artifacts
When you provide your Gmail user ID and password, first instance you may get below error in HCI
Fault:534-5.7.9 Application-specific password required. Learn more at
AuthenticationFailedException:534-5.7.9 Application-specific password required
Point to be noted here is Gmail does not accept any direct connectivity from HCI, it expects 2 way connectivity as below.
Enable 2-step verification and set a App password for HCI.
Select other custom app and generate a password in app passwords
Copy 16 character password and provide in HCI artifacts. Now it works for you..