# Node-red-node-email Nodemailer config

**URL:** <https://discourse.nodered.org/t/node-red-node-email-nodemailer-config/87179>\
**Category:** General\
**Created:** [12 April 2024 07:49 UTC](https://discourse.nodered.org/t/node-red-node-email-nodemailer-config/87179 "2024-04-12T07:49:41Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bobo](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bobo/32/8401_2.png) [@Bobo](https://discourse.nodered.org/u/Bobo)\
**Post date:** [12 April 2024 07:49 UTC](https://discourse.nodered.org/t/node-red-node-email-nodemailer-config/87179/1 "2024-04-12T07:49:41Z")

</div>

A number of years ago (literally) I made the below feature request regarding the Nodemailer config in the email node. Oddly enough for this group I never received a single reply. 🤗

After all these years, the issue remains. Any chance of it getting added?

> [@Node-red-node-email - expose more Nodemailer options](https://discourse.nodered.org/t/node-red-node-email-expose-more-nodemailer-options/17681):
>
> I have a Hostgator shared hosting/domain account that I use as a play thing. I have spent a few days off and on trying to use my email server as the sending server, to no avail. I could send emails only to my own server, no further. There is a "name" config option (in Nodemailer) that seems to require setting to the name of the sending account. I don't believe this option can be set in msg.envelope, or anywhere else currently, but happy to be shown otherwise. If there is currently no way for …

---

<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:** [12 April 2024 08:38 UTC](https://discourse.nodered.org/t/node-red-node-email-nodemailer-config/87179/2 "2024-04-12T08:38:46Z")

</div>

> [@Bobo](#):
>
> Oddly enough for this group I never received a single reply. 🤗

Here is a reply for you 😉

I'm guessing there were not so many folk interested 🤷‍♂️

> [@Bobo](#):
>
> After all these years, the issue remains. Any chance of it getting added?

If there are no takers, would you yourself be in a position to create a Pull Request? We can help direct you if you are unsure of what it takes.

---

<div class="post-metadata">

**Author:** ![Bobo](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bobo/32/8401_2.png) [@Bobo](https://discourse.nodered.org/u/Bobo)\
**Post date:** [12 April 2024 10:12 UTC](https://discourse.nodered.org/t/node-red-node-email-nodemailer-config/87179/3 "2024-04-12T10:12:31Z")

</div>

Thanks for the reply 🤣

Sure, I'll give it a go under some supervision. Will you be my teacher? 😝  
I wasn't sure whether any discussion needed to occur beforehand, so I didn't want to race off and do stuff only to find that that a reject notice had been slapped on me.

---

<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:** [12 April 2024 11:07 UTC](https://discourse.nodered.org/t/node-red-node-email-nodemailer-config/87179/4 "2024-04-12T11:07:01Z")

</div>

Consider this feedback the **"ok"** to do **"something"** 1.

#### Tools required/recommended:

1. `git`
2. vs-code (or similar)

#### General steps:

1. git clone the node-red-nodes repository
  - `git clone git@github.com:node-red/node-red-nodes.git`

2. create a branch
  - `git checkout -b add-nodemailer-options`

3. make your changes
4. test you changes
  - `cd .node-red`
  - `npm i /path/to/your/modified/node/`
  - `node-red`

5. add unit tests
  - they go here [node-red-nodes/test/social/email/61-email\_spec.js at master · node-red/node-red-nodes · GitHub](https://github.com/node-red/node-red-nodes/blob/master/test/social/email/61-email_spec.js)

6. push your branch (use the vs code sync button - much easier than the command)
7. raise a pull request against `master`

If any of these steps are unfamiliar, just ask 🙂

  

1 **"something"** : please stick to the task at hand. It would be wise to discuss your intentions in here before writing lots of code. For example: Are you intending on permiting "options" via the edit form? or via `msg`? or both? Which ever way you go, try to chose a familiar design pattern established by other nodes that accept options via the `msg` or node edit form.

---

<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:** [11 July 2024 11:07 UTC](https://discourse.nodered.org/t/node-red-node-email-nodemailer-config/87179/5 "2024-07-11T11:07:14Z")

</div>

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