Gmail Agent API v0.5

In: web apps

7 Jul 2004

Johnvey Hwang:

"There are two distinct components here: an open source Gmail API written for the .NET framework, and a proof of concept Windows application built on top of that API that provides basic remote Gmail functions."

Open source, client software, in .NET, connected to Gmail — all in the same sentence? That’s blowing up a lot of common misconceptions.
And this is very interesting in terms of architecture:

You’ve probably noticed that Gmail’s interface is extremely fast when compared to other web-based email systems like Yahoo! Mail and Hotmail. This is a result of Gmail’s placement of the UI engine on the client-side as a JavaScript module. Whenever you log in to Gmail, a copy of the UI engine is loaded into one of the HTML page frames and remains there for the duration of your session (credit has to be given to Oddpost for being the first ones who perfected this idea).

I wonder whether the exposure of those variable arrays in the javascript code is intentional to allow such third-party extensions, or if this is just a byproduct of how client javascript code works. I guess you could use encryption on the code (can you?) but that probably becomes probably at a prohibitive performance cost (OK, I’ll admit I have no idea, I’m just shooting in the dark).

07/08/04 update: speaking of what some people would think of as improbable matings, FairKeys is a program written in C# to return your FairPlay keys from the Apple server that can run on Macs with Mono.

1 Response to Gmail Agent API v0.5



July 8th, 2004 at 5:38 pm

It’s not possible to encrypt JavaScript code. Browsers of many different makes, such as Internet Explorer, Mozilla, Opera, and even Konqueror from the KDE Project, need to be able to interpret the JavaScript. And if your open-source browser can interpret the JavaScript that’s coded based on the published JavaScript specifications, you can be sure that there’s at least ten ways to extend that JavaScript and write-in your own.

Comment Form

About this blog

I'm CEO of an online/mobile trade publishing firm in the marketing and defense verticals. We strive to make news and data digestible and useful in an environment that is noisier by the day.

This personal blog mixes my thoughts and interests on politics, business, publishing, software, and more. Over the years I have posted items that turned out spectacularly wrong, and a few posts that better stood the test of time.



  • chris: thanks, I googled JetBlue interview and your site pulled together a number of excellent articles in [...]
  • Tim Marman: Assuming the market exists, it seems like the biggest challenge here is getting potential customers [...]
  • Konstantinos: ...and one of your first readers from back then (Webvoice anyone?) is here to congratulate you and w [...]
  • Harun Akar: just started offering FogBugz hos [...]
  • Sergio Rebelo: "Do you mind hearing some situational irony? I found this entry through a google search." Yes... me [...]