# Email node. Subject payload

**URL:** https://discourse.nodered.org/t/email-node-subject-payload/34409
**Category:** General
**Created:** [17 October 2020 10:50 UTC](https://discourse.nodered.org/t/email-node-subject-payload/34409 "2020-10-17T10:50:33Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![uratev](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/uratev/32/30486_2.png) [@uratev](https://discourse.nodered.org/u/uratev)
#### Post date: [17 October 2020 10:50 UTC](https://discourse.nodered.org/t/email-node-subject-payload/34409/1 "2020-10-17T10:50:34Z")

</div>

I need to forward email subject to telegram.  
All works with body text and Template node.  
But how i can forward only subject from email?

 ![Снимок экрана (10)](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/1/b1ef615e4df2771f88f05042ea3a436e262d56d1.png)

---

<div class="post-metadata">

### Author: ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)
#### Post date: [17 October 2020 10:57 UTC](https://discourse.nodered.org/t/email-node-subject-payload/34409/2 "2020-10-17T10:57:10Z")

</div>

A debug from email node and contents of template node will be needed.

---

<div class="post-metadata">

### Author: ![uratev](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/uratev/32/30486_2.png) [@uratev](https://discourse.nodered.org/u/uratev)
#### Post date: [17 October 2020 11:08 UTC](https://discourse.nodered.org/t/email-node-subject-payload/34409/3 "2020-10-17T11:08:15Z")

</div>

![Снимок экрана (15)_LI](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/7/d/7dca1a9f88cd13fdbeb42273cb874388c1e6311e.jpeg) ![Снимок экрана (15)](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/3/8/38c762e9fb04ecd1b0c5eb2b20df96dee7f9b999.png)

---

<div class="post-metadata">

### Author: ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)
#### Post date: [17 October 2020 11:41 UTC](https://discourse.nodered.org/t/email-node-subject-payload/34409/4 "2020-10-17T11:41:03Z")

</div>

where in the first screenshot is the subject?  
Try setting the debug to show complete message object.

---

<div class="post-metadata">

### Author: ![uratev](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/uratev/32/30486_2.png) [@uratev](https://discourse.nodered.org/u/uratev)
#### Post date: [17 October 2020 12:06 UTC](https://discourse.nodered.org/t/email-node-subject-payload/34409/5 "2020-10-17T12:06:24Z")

</div>

I got this!  
Everything works!  
Just replace {{payload}} to {{topic}}.  
Thank you for a hint with debug message. I'm completely forgot about this...

 ![Снимок экрана (19)](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/c/9/c91ccc6dedd54701c9fccc7e810b68d146ee133c.png)

---

<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: [31 October 2020 12:06 UTC](https://discourse.nodered.org/t/email-node-subject-payload/34409/6 "2020-10-31T12:06:26Z")

</div>

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