November 07, 2006

Read/Write Email with Wikimail

A couple of things over the weekend brought the idea of Wikimail - Read/Write email back to mind, so a half hour hack on Saturday and a chat with the handily online Brian Suda (who suggested the Read/Write Email moniker) mean there's a basic demo now available...

For those who don't want to click thru to the past for the background, the idea behind wikimail was to use email to pass a wiki backwards and forwards. Instead of reading an email message and replying to it, what I wanted for certain classes of email exchange was a more collaborative writing space, and a wiki seemed to offer an appropriate solution.

At this point, it's worth explaining that I work from home a lot, and I take part in way too many conversations that aren't really suited to email (part of the reason for trying to move some of them to chat/IM conversations).

In particular, one class of conversation that I think the structure of email exchanges often gets in the way of is an ongoing discussion, in which an informal document (maybe even a proto-blog post) is constructed over several email exchanges in the same thread. The conversants reply to replies, insert new comments within the flow of quoted text from previous emails, and maybe delete chunks portions of previously quoted text too.

So that's the itch behind the wikimail scratch: rather than developing a conversation through multiple levels of quotation and 'reply with quote' trauma, conversants could develop an idea via the wiki in their email space. The important thing was not to move the players out of their email client - the exchange should proceed within the email environment.

But first - what were things that brought it to mind this time round?

Firstly, I was looking for a free wiki that I could display in the tools frame of StrinGLE . When I first toyed with the idea of wikimail I tried embedding a Mediawiki wiki in an frame in Gmail - but it wanted to go to the top of the window, so I went on to playing with other things. Over the weekend, I came across a couple of free wikis that seemed to suit the bill - PBwiki and Wikidot...

Secondly, I've started wondering about the extent to which Gmail can act as the single interface to a lot of my online activity. I use the mail tools daily, GTalk instant messaging too, and although I've got the Google Reader in Gmail Greasemonkey script installed, I don't actually use it (I'm still on Bloglines, and wondering whether to switch to Google Reader...):

gReaderInGmail.jpg

Thirdly was the news that Google had bought Jotspot, and I started wondering what hey were going to do with it... Jotspot wikis allow users to email comments in, with the mail comments appear at the bottom of the wiki page, if I remember correctly, but that all seemed a bit clunky when I played with it ages ago...

So - the time was right, and it took less than ten minutes to hack an old Greasemonkey script that would search the body of an open email message in Gmail for a keyphrase (like wikimail:wikimaildemo.pbwiki) and replace it with an iframe containing the wiki - http://wikimaildemo.pbwiki.com, for example.

There were significant usability problems with the initial, ultimately crude script (and I'm afraid I haven't addressed most of them yet, Brian...! Nor have I had a chance to play with Backpack...) and the application is not, as yet, very portable... i.e. it's restricted at the mo to Firefox and Gmail.

One major issue with the original script was that it was impossible to reply to a wikimail message, although I have fixed that problem, after a fashion...

Anyway - here's the demo; if you have Greasemonkey installed in Firefox and you want to try it out, install the wikimail4gmail Greasemonkey script and have a play...

Alternatively, there's a Firefox wikimail extension generated via this Greasemonkey compiler.

The wikimial script/extension will rewrite wikimail addresses as follows:

- wikimail:some.domain is rewritten as http://some.domain.com
- wikimail:some.domain/path is rewritten as http://some.domain.com/path (which means it can address subpages in a wiki)

Follow the cribs in the screenshots to find some demo/test wikis. The wikidot one allows anonymous access...

For example, here's a message in Gmail:

wikimail1.jpg

See the Show/hide wikimail over on the right? The wikimail script put that there (if anyone can give me a better graphic, that would be appreciated ;-). Here's what happens if you click it:

wikimail2.jpg

(Err - the URL for the GM script is incorrect in that screenshot - I've corrected it in the wiki though ;-)

A wiki appears. In this case, you will need to login (if you haven't already). That wiki is set up to allow guests in with password 'demo', so you can try it out if you want. Of course, you could always link to a private wiki (i.e. on ewith restricted access).

If you click on the Show/hide wikimail link again, the wiki will close.

It is sometimes sort of possible to link to a wiki that doesn't exist yet:

wikimail3.jpg

Sort of:

wikimail4.jpg

Here's a wiki on another site:

wikimail5.jpg

This one is set up for anonymous access, so anyone can go in and play - and also create new pages:

wikimail6.jpg

This shows how to set up a wikimail link to point to a subpage:

wikimail8.jpg

This means you can use the email thread to construct a conversation over serveral wikimail pages; or use one wiki for wikimail, with different pages for each wikimal thread:

wikimail7.jpg

There are still a few issues with closing wikimail frames in long reply threads, but a page refresh will usually sort that out if it's too annoying...

If you don't grok it from this description, try the script out ;-)

And if you do give it a spin, please let me know how you get on...

PS See also Sending wikimail messages in Gmail

Posted by ajh59 at November 7, 2006 11:50 PM
Comments