Google has strict security measures it takes to ensure any applications such as Event Master Pro adhere to their standards. Therefore, if you have an email hosted by Gmail, then you may have to follow this process to get your email working.
Use Gmail OAuth2 for Google hosted emails (gmail) emails where you have two step verification enabled or have ‘less secure app’ disabled.
1)The first thing we have to do is make a new project in the Google Developer Console. https://console.developers.google.com/
Once in the console, press Select a project in the top left corner.
2) Once the window opens, press the “New Project” button in the top right corner to create a new project.
3)Set project name for example “email” and submit to ‘create’ button
4) Select your created new project (email) from left.
5) In popup window choose ’email’ row and click on it.
6) Now in new screen click to ‘CREATE CREDENTIALS’ button and choose ‘oauth client id’ from dropdown.
then in new screen click to ” Configure consent screen ” button
choose external and submit create
fill ‘app name’, ‘user support email’ and email in ‘Developer contact information’
submit on ‘Save And continue’ buttons and click to ‘Back to dashboard’
6) submit on ‘credentials’ link again in left bar
7) Now create “Oauth client Id “
8) choose ‘Web application’ as application type, name for example ‘oauth client’ and “https://developers.google.com/oauthplayground” add in Authorized redirect URIs section.
Now press Create
9) Save your Client ID and Client Secret
10) First, go to https://developers.google.com/oauthplayground and click the settings icon in the top right. Check the box that says Use your own OAuth credentials and enter your client ID and secret.
Without closing out of the settings, enter https://mail.google.com/ into the box in the Select and authorize APIs section and press Authorize APIs. You should get a very scary-looking screen that looks like this:
11) choose your email
You should get a very scary-looking screen that looks like this:
Nothing to worry about, this just means Google hasn’t confirmed our app is okay to use (duh, we just made it). Click the Advanced button on the left and then press Go to Your App’s Name (unsafe). We get another, less intimidating screen that looks like this:
Click Allow and you should get redirected back to the OAuth page. Now go to Step 2 of the sidebar on the left and press Exchange authorization code for tokens.
This should populate the two boxes below called Refresh token and Access token with a couple of strings. Copy down the Refresh token as we’ll need it for later!
Get ‘Refresh token’ from here and add in the settings form