Hi guys,
How can I forward an email using the Front API? I don't see a method for that, although the Forward button exists in UI.
Any suggestions?
Would you mind describing your use case a little bit more to better understand how you want to use the forward function?
Normally, we would recommend that you add a rule to the inbox that will forward the messages if they meet your rule conditions.
But if you can please further explain how or why you want to do this via API, we can potentially offer other solutions, as well.
Looking forward to hearing back!
--Molly
I didn't realize that forwarding was an action that could be done via rule. I see that now.
What I'm trying to do is assess the content of the email using an external API, and then based on what it finds, trigger an action via API. In this case, forwarding.
I guess I could Add a Tag, and then set up a rule when that tag is added, to forward it... seems a bit convoluted though.
Adding a tag via the API and then letting the rules engine take over according to that trigger will actually be the least complicated way to achieve the forward, actually.
I have discussed with my team, and forwarding is not supported by the API currently.
We do have a feature request in with the Product team and I will certainly add yours to the list.
The only other way I can think to use the API as a workaround would be to use "Reply to conversation" in the Messages endpoint. This could be tricky, as you would have to pull the conversation_id
, subject and body from the inbound message and then pass that through to the reply. So, it wouldn't be a true forward, but could still get the job done.
--Molly
Reply
Login to the community
No account yet? Create an account
Use your Front credentials
Log in with FrontEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.