Skip to content
This repository has been archived by the owner on Oct 8, 2022. It is now read-only.

Latest commit

 

History

History
16 lines (11 loc) · 692 Bytes

readme.md

File metadata and controls

16 lines (11 loc) · 692 Bytes

Gmail Module

Authentication

Authentication is done using OAUTH. We require the https://www.googleapis.com/auth/gmail.readonly scope to be able to list and get a preview of the messages.

You need a client ID. You can obtain a client id by going to https://console.developers.google.com/apis/credentials.

You will need to create a client ID for IOS. This is important as otherwise Google Oauth only supports redirecting to an url.

The Google Drive API needs to be enabled as well: https://console.developers.google.com/apis/library/gmail.googleapis.com

Resources

This is using the batch gmail API. Read more about it here: