Skip to main content
Solved

Plugin Reply-To Email Address

  • January 16, 2023
  • 1 reply
  • 85 views

Front Developer
Forum|alt.badge.img+2

We utilize our own plugin integration to pull customer data on each inbound data for our sales reps to see.

We capture the customer's email address using "emailaddress = context.conversation.recipient.handle;"

This is working fine except for our contact forms on our sites. These all send and are properly signed from noreply@domain.com. So we are unable to lookup the customer email in our system... The customer email is set in the reply-to field of the email. Our plugin works as expected as soon as the sales rep hits reply - the front conversation recipient changes at that point to the 'reply-to' address.

How can we pull the reply-to address in our plugin from the initial load before hitting the reply button??

Best answer by Support Engineering

We have a method in the Plugin SDK called listRecipients()

 

dev.frontapp.com/reference/listrecipients

 

You can use this to list the recipients of the conversation in the current context. Because this method is run on the conversation, rather than a message, it returns the full list of participating recipients without noting their role (to/from/reply-to) in any particular message.

 

I hope this is helpful

 

--Jason

1 reply

Forum|alt.badge.img+5

We have a method in the Plugin SDK called listRecipients()

 

dev.frontapp.com/reference/listrecipients

 

You can use this to list the recipients of the conversation in the current context. Because this method is run on the conversation, rather than a message, it returns the full list of participating recipients without noting their role (to/from/reply-to) in any particular message.

 

I hope this is helpful

 

--Jason