Gmail has been updated to allow you to drag and drop files onto messages to attach them in Firefox 3.6 and Chrome, thanks to the new File API in HTML 5.
The Mozilla Developer Center provides some helpful info on how to do something like this: Using files from web applications.