Gmail or the Googe Docs/Google Drive website is best automated with XClick and XClickText. And for file upload automation, you need to handle the file dialog, too. This is a browser security feature - normal HTML-level selenium commands like CLICK can not trigger a file upload, otherwise websites could be stealing files.
This file upload post explains how to automate the upload. The same method works for Google Drive!