# \[APP\]\[Pro\] Mail Hook - Connect your inbox to your smart home automation

**URL:** https://community.homey.app/t/app-pro-mail-hook-connect-your-inbox-to-your-smart-home-automation/153606
**Category:** Apps
**Tags:** app, homey-pro
**Created:** [April 10, 2026, 1:19pm UTC](https://community.homey.app/t/app-pro-mail-hook-connect-your-inbox-to-your-smart-home-automation/153606 "2026-04-10T13:19:37Z")
**Posts on this page:** 18
**Page:** 1

<div class="post-metadata">

### Author: ![Elmar](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/elmar/32/131852_2.png) [@Elmar](https://community.homey.app/u/Elmar)
#### Post date: [April 10, 2026, 1:19pm UTC](https://community.homey.app/t/app-pro-mail-hook-connect-your-inbox-to-your-smart-home-automation/153606/1 "2026-04-10T13:19:37Z")

</div>

# Mail Hook - Trigger Flows when new emails arrive via IMAP

This app triggers Homey Flows when new emails arrive in a configured IMAP inbox. It’s perfect for integrating incoming email events with smart home automations, such as notifying you when a specific sender messages you, running actions when a delivery notice arrives, or automating responses to important emails.

> **[Mail Hook | Homey](https://homey.app/en-us/app/mail.hook/Mail-Hook/)**
>
> Connect your inbox to your smart home automation.

* * *

## Triggers

A new email is received

Triggers when a new email arrives in the configured IMAP inbox. Provides the sender address, subject and body as tokens.

* * *

## Settings

### Configure your IMAP server details:

- Host (e.g. [imap.gmail.com](http://imap.gmail.com))
- Port (usually 993 for IMAPS)
- Username and password
- TLS toggle
- Poll interval (seconds)

Includes a Test connection button to validate your IMAP credentials.

* * *

## Tokens

- Account name (work)
- From (email) - [sender@example.com](mailto:sender@example.com)
- From (name) - John Doe
- Email subject - Your package has been shipped
- Email body - Dear customer, your order is on its way…

* * *

## Examples

> WHEN a new email is received, AND from\_email contains “amazon”, THEN send notification “Package update received”

> WHEN a new email is received, AND subject contains “security alert”, THEN turn on security lights

> WHEN a new email is received, AND body contains “meeting tomorrow”, THEN add calendar reminder

* * *

## Acknowledgements

Built using the Homey Apps SDK v3 and Node.js IMAP libraries.

## Supported Languages

- 🇬🇧 English
- 🇳🇱 Dutch
- 🇫🇷 French
- 🇩🇪 German

* * *

## Donation

If you appreciate this app, contribute to future development by making a [  
  ![paypal donate kopie](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/d/2d50e0b584c39ac87e87340885c9cdb0ce80d6bf.png)](https://www.paypal.com/donate/?business=EX3UK7FBQCKFA&no_recurring=0&item_name=Thanks+for+donating+for+schoolvakanties&currency_code=EUR)

Or use QR Code:

 ![paypal](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/0/1063ef7d4e6bf1579162d939285613ebbf22df8c.png)

* * *

## Links

GitHub Repository: [https://github.com/elmarkou/homey.mail.hook](https://github.com/elmarkou/homey.mail.hook)

Homey App Store: [https://homey.app/en-us/app/mail.hook/Mail-Hook/](https://homey.app/en-us/app/mail.hook/Mail-Hook/)

Documentation: [https://github.com/elmarkou/homey.mail.hook#readme](https://github.com/elmarkou/homey.mail.hook#readme)

Support: [Issues · elmarkou/homey.mail.hook · GitHub](https://github.com/elmarkou/homey.mail.hook/issues)

## Screenshots

 ![Settings](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/c/9c5b0f8a23bb85382882897a718f9e819be6c73f.png)  
 ![Cards](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/5/85c068a8ae48deb7e81ae1b2536ae87a337472ad.jpeg)  
 ![Tokens](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/a/2ac7aada0b9bb0e8693444a0caa21383f6c6e2dc.png)

## Usage

1. Install the Mail Hook app on your Homey
2. Configure your IMAP settings in the app settings
3. Test the connection to ensure it works
4. Create flows using the “A new email is received” trigger
5. Use the provided tokens in conditions, notifications, or other actions

Done!

## Release Notes

Latest 1.1.1  
Test 1.1.1

changelog on [app](https://homey.app/nl-nl/app/mail.hook/Mail-Hook/) page

---

<div class="post-metadata">

### Author: ![Jogi\_Bear](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jogi_bear/32/34384_2.png) [@Jogi\_Bear](https://community.homey.app/u/Jogi_Bear)
#### Post date: [April 10, 2026, 3:29pm UTC](https://community.homey.app/t/app-pro-mail-hook-connect-your-inbox-to-your-smart-home-automation/153606/2 "2026-04-10T15:29:38Z")

</div>

> [@Elmar](#):
>
> Homey App Store: [https://homey.app/app/mail.hook](https://homey.app/app/mail.hook)

gives back a 404.

---

<div class="post-metadata">

### Author: ![Elmar](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/elmar/32/131852_2.png) [@Elmar](https://community.homey.app/u/Elmar)
#### Post date: [April 10, 2026, 5:28pm UTC](https://community.homey.app/t/app-pro-mail-hook-connect-your-inbox-to-your-smart-home-automation/153606/3 "2026-04-10T17:28:52Z")

</div>

Correct its prod link buts its not approved yet. Changed to test url

---

<div class="post-metadata">

### Author: ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)
#### Post date: [April 10, 2026, 10:04pm UTC](https://community.homey.app/t/app-pro-mail-hook-connect-your-inbox-to-your-smart-home-automation/153606/4 "2026-04-10T22:04:05Z")

</div>

Hi Elmar,

Please use English screenshots in English topics for all the non-Dutch out there.  
In case you don’t want to change Homey’s language just to create screenshots,  
Google Lens can translate text on images very well. An example, SE to EN:

 ![Screenshot_20260410_231737_Google](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/d/9d2bfb4efd96bada17feb3024bf5e1070bd5101e.jpeg)

---

<div class="post-metadata">

### Author: ![Jogi\_Bear](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jogi_bear/32/34384_2.png) [@Jogi\_Bear](https://community.homey.app/u/Jogi_Bear)
#### Post date: [April 11, 2026, 11:58am UTC](https://community.homey.app/t/app-pro-mail-hook-connect-your-inbox-to-your-smart-home-automation/153606/5 "2026-04-11T11:58:28Z")

</div>

> [@Elmar](#):
>
> Homey App Store: [https://homey.app/app/mail.hook/test](https://homey.app/app/mail.hook/test)

test gives also back a 404

---

<div class="post-metadata">

### Author: ![Elmar](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/elmar/32/131852_2.png) [@Elmar](https://community.homey.app/u/Elmar)
#### Post date: [April 11, 2026, 12:08pm UTC](https://community.homey.app/t/app-pro-mail-hook-connect-your-inbox-to-your-smart-home-automation/153606/6 "2026-04-11T12:08:46Z")

</div>

Fixed

---

<div class="post-metadata">

### Author: ![Elmar](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/elmar/32/131852_2.png) [@Elmar](https://community.homey.app/u/Elmar)
#### Post date: [April 13, 2026, 9:41am UTC](https://community.homey.app/t/app-pro-mail-hook-connect-your-inbox-to-your-smart-home-automation/153606/7 "2026-04-13T09:41:20Z")

</div>

The app is approved and Live!

---

<div class="post-metadata">

### Author: ![Elmar](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/elmar/32/131852_2.png) [@Elmar](https://community.homey.app/u/Elmar)
#### Post date: [April 13, 2026, 1:26pm UTC](https://community.homey.app/t/app-pro-mail-hook-connect-your-inbox-to-your-smart-home-automation/153606/8 "2026-04-13T13:26:00Z")

</div>

Got a nice suggestion about multiple accounts. So this is now available for test:

> **[Mail Hook | Homey](https://homey.app/nl-nl/app/mail.hook/Mail-Hook/test/)**
>
> Verbind je inbox met je slimme woning automatisering.

---

<div class="post-metadata">

### Author: ![Elmar](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/elmar/32/131852_2.png) [@Elmar](https://community.homey.app/u/Elmar)
#### Post date: [April 14, 2026, 11:32am UTC](https://community.homey.app/t/app-pro-mail-hook-connect-your-inbox-to-your-smart-home-automation/153606/9 "2026-04-14T11:32:58Z")

</div>

And it’s live

---

<div class="post-metadata">

### Author: ![Jogi\_Bear](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jogi_bear/32/34384_2.png) [@Jogi\_Bear](https://community.homey.app/u/Jogi_Bear)
#### Post date: [April 20, 2026, 1:55pm UTC](https://community.homey.app/t/app-pro-mail-hook-connect-your-inbox-to-your-smart-home-automation/153606/10 "2026-04-20T13:55:56Z")

</div>

hi @Elmar

could you please check [not possible install on homey pro 2019 · Issue #1 · elmarkou/homey.mail.hook · GitHub](https://github.com/elmarkou/homey.mail.hook/issues/1)

---

<div class="post-metadata">

### Author: ![Tolga](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tolga/32/12563_2.png) [@Tolga](https://community.homey.app/u/Tolga)
#### Post date: [April 28, 2026, 5:27pm UTC](https://community.homey.app/t/app-pro-mail-hook-connect-your-inbox-to-your-smart-home-automation/153606/11 "2026-04-28T17:27:35Z")

</div>

Hi @Elmar, same problem here not possible to install on Homey 2019, Software Version 13.1.2.

When I go to the app store and select my Homey to install, it says the app will be installed shortly, but nothing happens on my Homey. The app doesn’t install.

The other email app from Adam Noren don’t work anymore on Homey 2019, I use this longtime but don’t work anymore.

---

<div class="post-metadata">

### Author: ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)
#### Post date: [April 28, 2026, 9:11pm UTC](https://community.homey.app/t/app-pro-mail-hook-connect-your-inbox-to-your-smart-home-automation/153606/12 "2026-04-28T21:11:59Z")

</div>

> [@Tolga](#):
>
> The other email app from Adam Noren don’t work anymore on Homey 2019,

[That app](https://homey.app/en-nl/app/se.adamnoren.email/Email/) installs and works fine on my Pro 2019 v13.1.2 🤷‍♂️  
So I think the issue is, it depends on the mail provider you use → at least Gmail doesn’t work (anylonger), even when using Googles’ “app passwords”.

> [@Tolga](#):
>
> not possible to install on Homey 2019, Software Version 13.1.2.

Confirmed.  
The Mail Hook indeed seems to get installed on my Pro 2019, the blue LED ring even turns for a while, but there’s no app to be found.

---

<div class="post-metadata">

### Author: ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)
#### Post date: [April 29, 2026, 7:28pm UTC](https://community.homey.app/t/app-pro-mail-hook-connect-your-inbox-to-your-smart-home-automation/153606/13 "2026-04-29T19:28:48Z")

</div>

Hi Elmar,

Also posted as reply on the github [issue](https://github.com/elmarkou/homey.mail.hook/issues/1#issuecomment-4346840079);  
After using the CLI `homey app run` command, this seems to quit the installation process on 2019 models:  
`✖ request to https://192-168-2-107.homey.homeylocal.com/api/manager/devkit/ failed, reason: unable to get local issuer certificate`

It quits right after this error message.

---

<div class="post-metadata">

### Author: ![Elmar](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/elmar/32/131852_2.png) [@Elmar](https://community.homey.app/u/Elmar)
#### Post date: [April 29, 2026, 7:37pm UTC](https://community.homey.app/t/app-pro-mail-hook-connect-your-inbox-to-your-smart-home-automation/153606/14 "2026-04-29T19:37:42Z")

</div>

Replied [here](https://github.com/elmarkou/homey.mail.hook/issues/1#issuecomment-4346840079)

This is the most common fix for the Homey 2019.

• Tell them: “Unplug your Homey Pro from the power for at least 11 minutes. Do not just restart it via the app; it must be physically unplugged. This forces the security certificate to reset.”

Step 2: Use the Mobile App (Not a Browser)

If they are trying to click “Install” on a laptop browser, the browser’s security settings are likely blocking the request.

• Tell them: “Try to open the installation link on your phone instead of a computer, and make sure your phone is on the same Wi-Fi as the Homey. The mobile app handles security certificates differently than Chrome or Edge.”

Step 3: Disable “Private DNS” or VPN

If the user has a VPN active on their phone/computer, or a feature like “Private DNS” (common on Android), it will prevent the [192-168-x-x.homeylocal.com](http://192-168-x-x.homeylocal.com) address from working.

• Tell them: “Turn off any VPNs or Ad-Blockers (like Pi-hole or AdGuard) temporarily while clicking Install.”

---

<div class="post-metadata">

### Author: ![Don\_Brown](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/don_brown/32/120935_2.png) [@Don\_Brown](https://community.homey.app/u/Don_Brown)
#### Post date: [June 19, 2026, 3:49pm UTC](https://community.homey.app/t/app-pro-mail-hook-connect-your-inbox-to-your-smart-home-automation/153606/15 "2026-06-19T15:49:03Z")

</div>

Curious what I’m doing wrong.

 ![MailHook 2026-06-19 104404](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/5/b585f8f7d39edbcdc55e8979c4078baf7c23e72d.png)

It’s a Yahoo account. Should I turn off TLS? Or, iis it some other user error?

---

<div class="post-metadata">

### Author: ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)
#### Post date: [June 23, 2026, 2:21pm UTC](https://community.homey.app/t/app-pro-mail-hook-connect-your-inbox-to-your-smart-home-automation/153606/16 "2026-06-23T14:21:43Z")

</div>

Perhaps you didn’t generate an app password?

 ![Screenshot_20260623_162032_Ecosia](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/5/d5d6532e141e7ca4a15b8ceaa63d9cd971a1215b.jpeg)

The TLS/SSL box should be ticked

Source:  
[https://help.yahoo.com/kb/SLN4075.html](https://help.yahoo.com/kb/SLN4075.html)

---

<div class="post-metadata">

### Author: ![Don\_Brown](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/don_brown/32/120935_2.png) [@Don\_Brown](https://community.homey.app/u/Don_Brown)
#### Post date: [June 23, 2026, 2:43pm UTC](https://community.homey.app/t/app-pro-mail-hook-connect-your-inbox-to-your-smart-home-automation/153606/17 "2026-06-23T14:43:00Z")

</div>

So, I can’t use my normal credentials? I need a separate password?

---

<div class="post-metadata">

### Author: ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)
#### Post date: [June 23, 2026, 2:58pm UTC](https://community.homey.app/t/app-pro-mail-hook-connect-your-inbox-to-your-smart-home-automation/153606/18 "2026-06-23T14:58:36Z")

</div>

Indeed. Follow the link I posted, it offers a link to generate an app password.

To compare: to use Gmail one also needs to use an app password.
