there is an easier way to accomplish the above using the exchange account function on the phone. Google has given exchange access for over-the-air syncing of contacts, mail, and calendars using it. check out http://www.google.com/support/mobile/bin/answer.py?answer=138740&topic=14252 for the instructions