This package is a fork of the strapi-provider-email-nodemailer-gmail-oauth2. This is to meet the new required name for Strapi Beta. Also changed the OAuth from 2LO Service to 3LO client.
- Enable Gmail API
- Create OAuth Credential
- Set the Authorized Redirect to https://developers.google.com/oauthplayground
- Take note of your Client ID and Client Secret.
- Navigate to https://developers.google.com/oauthplayground.
- In settings, activate "Use your own OAuth credentials". Copy your Client ID and Client Secret.
- Set scopes to https://mail.google.com.
- Exchange Authorization Code.
- Take note of Refresh and Access Token.
- Copy credentials in [your host]/admin/plugins/email/configurations/.
- Optional: Use an alias as 'From' or 'Reply-To'
npm i strapi-provider-email-gmail-oauth2