+ Add Question

Incorrect handling of multipart HTML emails

I've been looking over the forums about HTML emails but didn't see a satisfactory response and hence this question.

Is it possible to process the emails that I forward as HTML and display the actual HTML in the task note instead of a plain text representation of it?

All responses

Abhas premium
Replied on Jul 11, 2014 - 18:12 UTC

I forgot to add that I am using Thunderbird to forward emails to a project and to label the tasks. The reason I don't use the Thunderbird built-in plugin to add an email as a task is that it requires too much work with the mouse pointer.

Forwarding an email with the labels in the subject is simpler and can be achieved completely with the keyboard.

David Trey staff
Replied on Jul 11, 2014 - 18:13 UTC

Hello Abhas,

That's unfortunately not possible as the notes section of tasks itself doesn't support HTML. That is - it doesn't parse it, only adds whatever it finds in the message as text.

We may consider adding such option in the future, though it's always a security risk to allow "executing" any code this way.


Best regards,
David

Abhas premium
Replied on Jul 11, 2014 - 20:02 UTC

Okay I understand the security part but there can be a way to sanitize the HTML before displaying it. Or if you could limit the number HTML tags, I could use just limit it to those tags.

Another suggestion would be to support Markdown and convert form text to Markdown on the fly.

How about inline images? Could those be displayed in the task notes instead of as an attachment?

David Trey staff
Replied on Jul 11, 2014 - 20:05 UTC

Abhas,

That's true and we may indeed consider this for future updates :-) As for images - if you upload an image, you would see a thumbnail in most cases, though when it comes to sending tasks via email that won't work, unfortunately.


Best regards,
David

Michael Bladowski premium
Replied on Oct 03, 2014 - 01:40 UTC

hi, same problem here ;-(( today 99% of emails are html... the whole feature gets useless when todoist ignores the html body when forwarding emails ;-((( this a big problem!
i convinced many people to give todoist a try because of this feature "email to task" and now i have to realize that this is useless, because html is not supported... but nearly every email today is based on html.... ;-((((
please please do something here ! -_-;

David Trey staff
Replied on Oct 03, 2014 - 12:20 UTC

Hello Michael,

HTML mails should be supported if they have at least some written content and are not something like a newsletter that have just one image and a link to click on it. Please send an email that didn't arrive as an .eml file and we'll look into it.


Regards,
David