Gmail API for Greasemonkey.