+ Add Question

Add Email as Task Uses Inbox Count Instead of Subject Line as Task Name


When I try to add an email as a task using the firefox plugin I often get a task named something like "Inbox (199)" instead of the subject line of the email. This used to not happen every time but it is happening more frequently. I am not sure why it happens inconsistently though.

I am running the Firefox 16.02 and the newest version of the Todoist sidebar plugin.

Thank you.

All responses

David Trey  staff
Replied on Nov 25, 2012 - 14:32 UTC

Hello George,

Thank you for your report, we're currently working on this issue and we'll notify you once it's fixed. Sorry for any inconvenience it has caused you.

Best regards,

Ethan Romba  premium
Replied on Aug 25, 2013 - 19:46 UTC

I'm still running into this issue (Firefox 23.0.1, Todoist Firefox Addon 3.6).

In my case, I'm trying to add an email as a task from my Google Apps account, and the document title ends in the name of the organization associated with the account, e.g.:

[Subject line] - example@mycompany.com - @mycompany.com Mail

This differs from the usual format for non-Google-Apps accounts:

[Subject line] - example@gmail.com - Gmail

In the example above, "example@mycompany.com" is incorrectly identified as the subject line of the email.

Brendon Wadey  staff
Replied on Aug 26, 2013 - 01:30 UTC

Hi Ethan,

Does this only happen when using Firefox, or does this happen no matter where you are creating the task?


Ethan Romba  premium
Replied on Aug 26, 2013 - 04:15 UTC

Thanks for looking into this so quickly, Brendon.

This issue affects only the Todoist Firefox addon.

Steps to Reproduce:
1. Open a project in the Todoist sidebar.
2. In the same browser window, log into a Google Apps account and open an email.
3. Click "Add email as task" in the Todoist sidebar.

Expected Outcome:
A new task should be created with the email's subject line as the task name.

Actual Outcome:
A new task is created with an incorrect task name (i.e. some other part of the Gmail page's document title).

I dug into the JavaScript a bit and narrowed the bug down to the SideBar.addToTextArea() method. For the example above, the call to checkEmail() in this method incorrectly returns true for the "@mycompany.com Mail" portion of the document title.

I hope this helps!

Brendon Wadey  staff
Replied on Aug 26, 2013 - 15:48 UTC


Thanks for the detailed information. I have let the developers know about this.