How to get reply-to header?
Hi all. Thank you for this great library Is there a way to get the reply-to header content?
Thank you
This library does not as much interact with the underlying email itself (and thus not with it's headers), but how that email is exposed via Gmail itself.
There might be a solution to your problem, but I don't know it from the top of my head. I suggest reading the documentation and exploring the API to see if you find anything which works for you.
Hi @josteink ,
Any update on this? My use case is to filter out the no-reply emails and read the reply-to header instead.
Like I said, this library is not really for those things, and works more in the UI layer of Gmail.
In theory you could extract the email MIME message itself, and the run that through a MIME-parser, to get the headers, but there's no direct way using GmailJS to get those header-values.
This issue is old and has seen no activity in a year+. Closing.