Unable to send email from within Keycloak, it fails with the same error even when the credentials are correct
org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)
05:11:44,147 ERROR [stderr] (default task-3) at org.jboss.xnio@3.8.2.Final//org.xnio.XnioWorker$WorkerThreadFactory$1$1.run(XnioWorker.java:1280)
05:11:44,147 ERROR [stderr] (default task-3) at java.base/java.lang.Thread.run(Thread.java:829)
05:11:44,147 ERROR [stderr] (default task-3) Caused by: javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at
05:11:44,147 ERROR [stderr] (default task-3) 535 5.7.8 https://support.google.com/mail/?p=BadCredentials g2sm2890122qki.42 - gsmtp
NOTE: Less secure app is enabled in email account which is configured with Keycloak