# Email: How to extract a piece of raw message body or references (header) or in-reply-to header?

**URL:** <https://community.fibery.io/t/email-how-to-extract-a-piece-of-raw-message-body-or-references-header-or-in-reply-to-header/9507>\
**Category:** Get Help\
**Created:** [August 31, 2025, 8:34pm UTC](https://community.fibery.io/t/email-how-to-extract-a-piece-of-raw-message-body-or-references-header-or-in-reply-to-header/9507 "2025-08-31T20:34:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![myg\_ge](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/myg_ge/32/12457_2.png) [@myg\_ge](https://community.fibery.io/u/myg_ge)\
**Post date:** [August 31, 2025, 8:34pm UTC](https://community.fibery.io/t/email-how-to-extract-a-piece-of-raw-message-body-or-references-header-or-in-reply-to-header/9507/1 "2025-08-31T20:34:56Z")

</div>

I have a rule that injects a tracking pixel into a newly created email message and adds References into the email’s header with an UUID of the tracked message.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/fibery/original/2X/9/901fbfa5bdf6eabf3493f0fa4d297ba6ec926333.png)

But I’ve found no means of actually grabbing these values neither through filters nor through the Fibery rules… One of the bigger needs is to link my entity in CRM/Person Email Activity to the related entity in Email/Email.

When I use filter “Message (snippet)” in Email/Email while trying to find an injected pixel link, it cannot find it, although the link is there according to Gmail’s \> Show Original.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/fibery/original/2X/5/50186411b9fbb8fcf971f3ea00fe3c78e84f2cfd.png)

How do I retrieve the value of the References header and/or check right inside Fibery if the link is present in the message body and/or retrieve the value of In-Reply-To header?

Am I missing something here?

Thank you.
