F/gmail rest api

Adds support for Gmail REST API