# Node-red-node-email - Sender E-Mail Address

**URL:** <https://discourse.nodered.org/t/node-red-node-email-sender-e-mail-address/72699>\
**Category:** General\
**Created:** [25 December 2022 21:45 UTC](https://discourse.nodered.org/t/node-red-node-email-sender-e-mail-address/72699 "2022-12-25T21:45:53Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![thomas-hn](https://avatars.discourse-cdn.com/v4/letter/t/6bbea6/32.png) [@thomas-hn](https://discourse.nodered.org/u/thomas-hn)\
**Post date:** [25 December 2022 21:45 UTC](https://discourse.nodered.org/t/node-red-node-email-sender-e-mail-address/72699/1 "2022-12-25T21:45:53Z")

</div>

Hi,

the E-Mail server I use with node-red-node-email requires the username only (not the e-mail address) in the User-ID field. This causes that the sender of my Node Red e-mails is not shown correctly at the receiver. Is there a way to decouple the User-ID used for the login from the sender e-mail address?

Thanks,

Thomas

---

<div class="post-metadata">

**Author:** ![Sean-McG](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sean-mcg/32/54677_2.png) [@Sean-McG](https://discourse.nodered.org/u/Sean-McG)\
**Post date:** [26 December 2022 02:54 UTC](https://discourse.nodered.org/t/node-red-node-email-sender-e-mail-address/72699/2 "2022-12-26T02:54:16Z")

</div>

Have you tried this from the help page ?

You may optionally set `msg.from` in the payload which will override the `userid` default value.

---

<div class="post-metadata">

**Author:** ![thomas-hn](https://avatars.discourse-cdn.com/v4/letter/t/6bbea6/32.png) [@thomas-hn](https://discourse.nodered.org/u/thomas-hn)\
**Post date:** [26 December 2022 20:42 UTC](https://discourse.nodered.org/t/node-red-node-email-sender-e-mail-address/72699/3 "2022-12-26T20:42:08Z")

</div>

Thanks, using the msg.from worked. I have seen this field before, but did not really consider it, because the German help text in Node red says " Es kann optional auch `msg.from` in den Nutzdaten (Payload) vorgegeben werden, was die eingestellte `Benutzer-ID` überschreiben würde." which can be interpreted as "it will overwrite the User-ID". So I was a bit afraid, that my login will not work anymore after using msg.from.  
At this point, the German translation should, maybe, be made a bit more clear.

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [26 December 2022 21:49 UTC](https://discourse.nodered.org/t/node-red-node-email-sender-e-mail-address/72699/4 "2022-12-26T21:49:39Z")

</div>

@thomas-hn I'm sure that any updates to the translation you can make would be welcomed. 😀

---

<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 January 2023 21:50 UTC](https://discourse.nodered.org/t/node-red-node-email-sender-e-mail-address/72699/5 "2023-01-09T21:50:38Z")

</div>

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