squirt-reader-N1-plugin
squirt-reader-N1-plugin copied to clipboard
Email being incorrectly parsed
Multiple emails have just had the email signature parsed, skipping the entire body of the message.
I have the same issue. A lot of emails only get the signature.
It does not work for me
Hi there @felipemillan there was an issue with the React API I was using to render the words. I updated the code so it's compatable now! And bonus, you can set thresholding.
@HarleyKwyn Thank you so much for the fix! 👍
@malonehedges This is a common issue, I'm using a readability parse that's designed for web not e-mail. It's quite a project in and of itself to design a parser that works for all e-mails.
For those of you who don't know, the nylas client renders even plain text e-mails into html so that they're universal. This is a double edged sword and makes it so it can be difficult to find the right part of the e-mail programmatically.
Some thoughts I had on this were to build a fall back if standard parsing results is something oddly short or non-existent that just strips all html tags and gives you the e-mail in serialized form.
Thought I don't have time for this at the moment. Hopefully I'll get another weekend in the future to add those nice to haves :)
I think I may have figured out how to do this intelligently now based on the word count plugin I just built. Will probably give it a shot over memorial day weekend. Keep y'all posted.