In my chrome extension I am using Inbox.sdk.
When someone sends a email I am adding a tracking pixel into it.
But when someone reply to our mail. And then we reply to it - tracking pixel is present inside of the body - in trimmed section - How can we get rid of that tracking pixel.
For example
A and B are in conversation and A is using my plugin -
A --------> . B
(will attach a tracking pixel TP1)
Now B will reply to A
A <---------- B
When A send reply to B
A ----------> B
(will attach a new tracking pixel TP2)
but now we are sending two tracking pixel -
1. TP2
2. TP1 - because it was present inside the body of reply - inside the trimmed content.
So the problem is how can we remove that old content from the body of reply.
By using inbox sdk I can only grab body if trimmed content is opened other wise- we cannot grab content inside boy of trimmed content.
If issue is unclear I am availble comment and I will try to expand more.