February 4, 2009...10:35 pm

Weekly Focus: Email Commands

Jump to Comments

It’s time to start improving the built-in Ubiquity commands! Since the launch of Ubiquity last August, huge improvements have been made. But most of these new changes haven’t improved the commands in any way. Aside from a few bug fixes, the “wikipedia” command, the “twitter” command and others are still the same as they were back in August.

Since the core developers have been working hard on Ubiquity core, Aza suggested starting weekly focuses so that everyone can concentrate their efforts on a single command for a week or two.

Email

We’ll start with the email commands (email, last-email, get-email-address, detect-email-provider) for the first two weeks.

The most important objective is to be enable the email command to be used with other service providers like:

  • Windows Live Hotmail – has an API to retrieve contacts
  • Yahoo! – has one API to retrieve contacts and one to compose messages
  • Google Apps
  • Thunderbird
  • Default mailto: application (e.g. Mail.app on a mac) – should work similar to this command
  • Others like AOL, Zimbra, LinkedIn contacts, etc.

With the addition of these different providers, the new command would have a additional modifier “using”:

The new email command

The default email provider will be based on your browsing history – the email account with the highest frecency (see the detect-email-provider command). But you can change your default by simply telling Ubiquity “my email is yahoo”.

As with any other command, another major goal here is to fix all tickets related to this command (click image to get to Trac).
Email tickets

How you can help

  1. Suggest improvements to the email commands
  2. Submit patches to fix any of the open tickets or to add your favorite feature!
  3. Write a comprehensive unit test framework for commands that will ensure that errors in commands are detected quickly.
  4. If you are a designer, you write can CSS for Ubiquity. How about making this bland preview look awesome?picture-18picture-20

The current email command code can be found here and the code for the contacts noun is here. To get this command, you can install the latest beta version of Ubiquity here. As more changes and features are added, it should update itself (not nightly but frequently). If you want to contribute patches, here’s the guide to help with that.

Progress

UPDATE: Emailing using your Google Apps account now works thanks to Jeremy Laidman’s work.

I’ve already integrated Yahoo! and Google Apps contacts. But it does not seem to be possible to send emails from Yahoo! like we do in Gmail (do you know how to do that?). I’ll be blogging about the progress as it happens.

Let’s perfect the email commands in the next two weeks!

After that, we’ll look at the Twitter command (timelines, replies and more!).

13 Comments


Leave a Reply