# How to send bulk emails

**URL:** <https://discourse.nodered.org/t/how-to-send-bulk-emails/62399>\
**Category:** General\
**Created:** [9 May 2022 11:42 UTC](https://discourse.nodered.org/t/how-to-send-bulk-emails/62399 "2022-05-09T11:42:16Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![An-ji](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/an-ji/32/26678_2.png) [@An-ji](https://discourse.nodered.org/u/An-ji)\
**Post date:** [9 May 2022 11:42 UTC](https://discourse.nodered.org/t/how-to-send-bulk-emails/62399/1 "2022-05-09T11:42:16Z")

</div>

Hi, I'm using node-red-node-email to send emails it work fine if we need to send emails around 90 at a time however it fails after reaching certain limit to send email.  
I tried smtp pool as well but no luck. can anyone please help me on this the idea is to send reminder emails every day to 200+ people.

[https://nodemailer.com/usage/bulk-mail/#:~:text=%20Delivering%20bulk%20mail%20%201%20Use%20a,SMTP%20providers%20happily%20accept%20all%20your...%20More%20?msclkid=e5be4c2ccf8311ec9478c005f2dfbe4c](https://nodemailer.com/usage/bulk-mail/#:~:text=%20Delivering%20bulk%20mail%20%201%20Use%20a,SMTP%20providers%20happily%20accept%20all%20your...%20More%20?msclkid=e5be4c2ccf8311ec9478c005f2dfbe4c)[https://flows.nodered.org/node/node-red-node-email?msclkid=d0e21f8ccf8b11ecb783c1c6fec63cd1](https://flows.nodered.org/node/node-red-node-email?msclkid=d0e21f8ccf8b11ecb783c1c6fec63cd1)

---

<div class="post-metadata">

**Author:** ![edje11](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/edje11/32/572_2.png) [@edje11](https://discourse.nodered.org/u/edje11)\
**Post date:** [9 May 2022 12:21 UTC](https://discourse.nodered.org/t/how-to-send-bulk-emails/62399/2 "2022-05-09T12:21:39Z")

</div>

Do you get an error message?  
Maybe in the debug panel or else try the catch node.

---

<div class="post-metadata">

**Author:** ![jbudd](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jbudd](https://discourse.nodered.org/u/jbudd)\
**Post date:** [9 May 2022 12:35 UTC](https://discourse.nodered.org/t/how-to-send-bulk-emails/62399/3 "2022-05-09T12:35:01Z")

</div>

Have you checked with your ISP that they don't limit the number of mails sent?

---

<div class="post-metadata">

**Author:** ![An-ji](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/an-ji/32/26678_2.png) [@An-ji](https://discourse.nodered.org/u/An-ji)\
**Post date:** [10 May 2022 11:38 UTC](https://discourse.nodered.org/t/how-to-send-bulk-emails/62399/4 "2022-05-10T11:38:17Z")

</div>

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/4/4/447dfee0893cced50857af264be4061602a56814.png)

---

<div class="post-metadata">

**Author:** ![An-ji](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/an-ji/32/26678_2.png) [@An-ji](https://discourse.nodered.org/u/An-ji)\
**Post date:** [10 May 2022 11:39 UTC](https://discourse.nodered.org/t/how-to-send-bulk-emails/62399/5 "2022-05-10T11:39:31Z")

</div>

getting Error: queryA ETIMEOUT [smtp.gmail.com](http://smtp.gmail.com) error message after sending few emails

---

<div class="post-metadata">

**Author:** ![An-ji](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/an-ji/32/26678_2.png) [@An-ji](https://discourse.nodered.org/u/An-ji)\
**Post date:** [10 May 2022 11:53 UTC](https://discourse.nodered.org/t/how-to-send-bulk-emails/62399/6 "2022-05-10T11:53:10Z")

</div>

Error: Mail command failed: 421 4.7.0 Try again later, closing connection. (MAIL) w8-20020a170902d70800b0015e8d4eb252sm1810168ply.156 - gsmtp

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [10 May 2022 12:22 UTC](https://discourse.nodered.org/t/how-to-send-bulk-emails/62399/7 "2022-05-10T12:22:24Z")

</div>

> [@An-ji](#):
>
> Mail command failed: 421 4.7.0 Try again later, closing connection

First result on Google...

[https://www.google.com/search?q=Mail+command+failed%3A+421+4.7.0+Try+again+later%2C+closing+connection&client=ms-android-google&sourceid=chrome-mobile&ie=UTF-8](https://www.google.com/search?q=Mail+command+failed%3A+421+4.7.0+Try+again+later%2C+closing+connection&client=ms-android-google&sourceid=chrome-mobile&ie=UTF-8)

In simple terms, you are spamming.

You may need to use a dedicated email service that permits bulk sending

Try slowing them down by adding a delay between each send. Like 2s delay set to rate limit mode. Meaning only 30 per minute are sent.

---

<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:** [9 July 2022 12:23 UTC](https://discourse.nodered.org/t/how-to-send-bulk-emails/62399/8 "2022-07-09T12:23:03Z")

</div>

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