Homey Community Forum

EMail: Trigger flows based on incoming emails

Adam Norén has written a amazing app that triggers flows based on incomming emails. The problem is, I cannot get it to work. I installed it correctly but am unable to configure it. I keep getting “Invalid Credentials (Failure)” or “Timed out while authenticating with server” messages. I know for a fact my password is correct (cause I log in with it).

I tried with several accounts, using pop or imap servers, using all known ports (25, 2525, 25025, 993, 995), secure on/of, but to no avail. I allowed less secure apps to use my mail, tried a standard gmail, hosted gmail, but alas.
Obviously I’m doing something wrong, because some other user got it to work, but I just don’t know what.

Have same problem with yahoo

And you already tried to get in contact with the creator of the app…

@norenz Hi,

I create a diagnost report 220d706c-6df2-497d-a5f9-fc798161a673

Hi Roy, honestly, I don’t know how. I can’t from the app page, can I?

You could place a review with the question ofcourse, but better would be to just tag the person in your post.

Like @norenz :arrow_up: :arrow_up: :arrow_up: :arrow_up: :arrow_up:

Thanks Roy, didn’t know that was Adam’s tag… :smiley:

2 Likes

Hi @norenz,

Always same problem, i tested with enabled / disabled 2 factor authorization.

Hi @AdvaLa!

I successfully conneted and tested with my gmail account. The trick is, you should enable less secure apps in your Google account: https://myaccount.google.com/lesssecureapps
When enabled you can try to login with your email address and your password.
But this only work if you’re not using 2FA.
When 2FA is enalbed you need to create application password under your google account security tab.
After that you can login to the email app with that password. Everything else is the same. Username: your email address, host: imap.gmail.com, port: 993, tls check.
I hope this help!

1 Like

Got it to work finally. I thought the Access to Less secure apps was a domain setting, but after Tommie’s answer I tried and now indeed het works. Thanks!

Hi @Tommie ,

Thanks, get also connected with your help, its a little bit different on yahoo.

Thanks

@Tolga How does it work on Yahoo?
I don’t have Yahoo. I use Zonnet but it is also not working.
Maybe I can use your info.

Delete

@Tolga Thank you for this explanation.
I wil have a look if this is an option for zonnet.

1 Like

Hello, the app is working fine, but impossible for me but impossible to change / modify the tags?

Hi @Luc_Thierens This is how it works, maybe it is of any help.

@Peter_Kawa, You rock, many thanks !

1 Like

What is wrong with this flow ? Unable to enbale the flow (stays gray)

Nothing wrong, except “from email is exact [Homey]”.
If homey is part of the senders’ email address, you should pick the card "from email contains [Homey]

Flows can have 3 states:

  1. Bright start button & bright text:
    enabled, and runs with start- & testbutton
  2. Dimmed start button & bright text:
    enabled, but only runs with testbutton if a used variable is given a value just for the test purpose.
  3. Dimmed start button & dimmed text:
    disabled.

Your flow is a “2.” flow.
When you push the test button, it’ll ask for (a part of) an email address
Because while no email has really been received, you “emulate” this by entering the expected data

When you edit the flow, and hit the sprocket icon, you’ll see your flow is enabled.