« Back to blog

Checkvist users: send tasks to your todo list via e-mail

Media_httpwwwmartinbr_ghltq

Here's a little script I wrote this afternoon to allow you to add tasks to your Checkvist todo list by e-mailing them to yourself (or having them e-mailed to you!) The script is written in Python, so you need to have Python installed on your system for it to work. Download the script here.

Here's how I use this:

  1. I set up a gmail filter which looks for any incoming mail sent to my gmail address with +checkvist on the end (a very useful feature of gmail) and archives it, labelling it with 'Tasks' in the process.
  2. I installed the script on my server at home, and set up a cron job to execute it every 20 minutes.

When the script runs, it checks my gmail (via IMAP), finds any unread messages in the Tasks label, and converts each line of the messages to a task, which is then added to the top of my checklist. (If a line begins with a double-dash (--), it and any following lines are ignored, so as to avoid including my e-mail signature in my todo list). The message(s) are then marked as read in gmail. Nice and simple. Once you download the script, you will need to fill in the settings in the first few lines, to include:

  • Your email address and password
  • Your mail server (Gmail's server is filled in already)
  • The name of the folder (or Gmail label) in which new tasks can be found
  • The username and api key of your Checkvist account
  • The number (find it in the URL) of the checklist you want to add the tasks to.

If you include a due date on the end of the e-mail line, it will be converted as usual by Checkvist. If you find this useful, please let me know!

| Viewed
times
Filed under: