# Node RED receive email

**URL:** https://discourse.nodered.org/t/node-red-receive-email/21309
**Category:** Dashboard
**Created:** [5 February 2020 13:26 UTC](https://discourse.nodered.org/t/node-red-receive-email/21309 "2020-02-05T13:26:28Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![calimero](https://avatars.discourse-cdn.com/v4/letter/c/c6cbf5/32.png) [@calimero](https://discourse.nodered.org/u/calimero)
#### Post date: [5 February 2020 13:26 UTC](https://discourse.nodered.org/t/node-red-receive-email/21309/1 "2020-02-05T13:26:28Z")

</div>

Hi,

I'm using the node-red-node-email npm to receive emails from a mailbox. When set on automatically every 5 seconds it works fine. Unfortunatelly when I want to trigger it after a switch I get a connect error.  
Normally, I thought that the data coming from the switch doesn't matter since that the configuration to connect to the INBOX is inside the mail block.  
What can be the mistake in this flow?

Kind regards

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [6 March 2020 13:26 UTC](https://discourse.nodered.org/t/node-red-receive-email/21309/2 "2020-03-06T13:26:41Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
