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

@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?

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


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:
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:, port: 993, tls check.
I hope this help!


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.


@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.


@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:

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.

Hey Peter, still working on it … when I have some time.
Every time I ad a TAG the flow is going automatically to state 2.

That is how it works, and there’s not something wrong. As I wrote earlier, the value of the tag is supplied / can be supplied by the trigger card.
While that value isn’t there while you push the test button, you can’t test the flow without interaction.
But you can test the flow with the test button when the flow itself is on screen, and press the test button below on your right. Then you’ll be asked to enter ‘a’ value of the variable / tag, just so the flow can run.
Hope this is of any help