Start working on GMAIL api, add some helpers