# Problem with setting up alarm notification pipeline using gmail,

**URL:** <https://forum.inductiveautomation.com/t/problem-with-setting-up-alarm-notification-pipeline-using-gmail/65257>\
**Category:** Ignition\
**Tags:** ignition81\
**Created:** [October 15, 2022, 5:25pm UTC](https://forum.inductiveautomation.com/t/problem-with-setting-up-alarm-notification-pipeline-using-gmail/65257 "2022-10-15T17:25:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![KATHERINE.LOOBY](https://avatars.discourse-cdn.com/v4/letter/k/5f8ce5/32.png) [@KATHERINE.LOOBY](https://forum.inductiveautomation.com/u/KATHERINE.LOOBY)\
**Post date:** [October 15, 2022, 5:25pm UTC](https://forum.inductiveautomation.com/t/problem-with-setting-up-alarm-notification-pipeline-using-gmail/65257/1 "2022-10-15T17:25:01Z")

</div>

does this message mean that my settings are correct and I just have a problem with the username password? help please

javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at 535 5.7.8 [Check Gmail through other email platforms - Gmail Help](https://support.google.com/mail/?p=BadCredentials) b10-20020a5d550a000000b0022860e8ae7csm4415260wrv.77 - gsmtp

at com.sun.mail.smtp.SMTPTransport$Authenticator.authenticate(SMTPTransport.java:892)

at com.sun.mail.smtp.SMTPTransport.authenticate(SMTPTransport.java:814)

at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:728)

at javax.mail.Service.connect(Service.java:386)

at javax.mail.Service.connect(Service.java:245)

at javax.mail.Service.connect(Service.java:194)

at javax.mail.Transport.send0(Transport.java:253)

at javax.mail.Transport.send(Transport.java:124)

at com.inductiveautomation.ignition.alarming.notification.email.EmailNotificationProfile$EmailTask.sendMessage(EmailNotificationProfile.java:749)

at com.inductiveautomation.ignition.alarming.notification.email.EmailNotificationProfile$EmailTask.buildAndMaybeSendMessage(EmailNotificationProfile.java:737)

at com.inductiveautomation.ignition.alarming.notification.email.EmailNotificationProfile$EmailTask.run(EmailNotificationProfile.java:651)

at com.inductiveautomation.ignition.alarming.notification.email.EmailNotificationProfile.lambda$sendNotification$0(EmailNotificationProfile.java:465)

at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

at java.base/java.lang.Thread.run(Unknown Source)

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [October 15, 2022, 10:39pm UTC](https://forum.inductiveautomation.com/t/problem-with-setting-up-alarm-notification-pipeline-using-gmail/65257/2 "2022-10-15T22:39:45Z")

</div>

Gmail doesn't allow third party applications to use simple username/password any more (like a year or so). You have to create an application password/token:

> [@exportAndDistribute Report with Gmail](https://forum.inductiveautomation.com/t/exportanddistribute-report-with-gmail/32527):
>
> I’m working on creating a script that will send a report when a batch and/or job number is completed and I want to send it through an email. I’ve gotten the base report creation down with local file saves and I’m transitioning it to the email distribution and I’m having some issues with my email actionSettings configuration and getting log messages saying “Error in sending email for report config Email” with the detailed log below. I’ve set up an SMTP profile on my gateway, image below, and I’d…

---

<div class="post-metadata">

**Author:** ![KATHERINE.LOOBY](https://avatars.discourse-cdn.com/v4/letter/k/5f8ce5/32.png) [@KATHERINE.LOOBY](https://forum.inductiveautomation.com/u/KATHERINE.LOOBY)\
**Post date:** [October 19, 2022, 4:53pm UTC](https://forum.inductiveautomation.com/t/problem-with-setting-up-alarm-notification-pipeline-using-gmail/65257/3 "2022-10-19T16:53:56Z")

</div>

Thanks for your reply , could you please direct me to where I can find out about creating an application token, thanks

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [October 19, 2022, 5:12pm UTC](https://forum.inductiveautomation.com/t/problem-with-setting-up-alarm-notification-pipeline-using-gmail/65257/4 "2022-10-19T17:12:59Z")

</div>

Can you not use the company's mail server for outbound email?
