1b.app
Link copied -

Setting up integration with gmail

When you have set up a connection to gmail, there are instructions in the OneBox connection form:

"Go to the Google API developer console and log in using your mailbox account.

Next, click "Create project" or use the one already created.

Go to the project and click the “Enable API and services” button and select Gmail API.

We go to our added Gmail API, click the “Create credentials” button and select “OAuth client ID”:

- we indicate the application type "Web application" and fill in the project information

- Authorized redirect URIs specify https://merezhatepla.1b.app/app/email/gmail/oauth/callback/

After registering the application and obtaining all the necessary access, you must specify:

1. Mailbox -> in the "Email" field

2. Application ID -> in the fields "IMAP UserName" and "SMTP UserName"

3. Application Secret -> in the fields "IMAP Password" and "SMTP Password"

If the application is registered correctly and the data is specified, you will be redirected to the OAuth 2.0 authentication service via Google."

Follow the instructions to set up the Gmail API, and then fill out the OneBox connection form:

1. How can “all” access be denied after registration?

2. “Mailbox -> in the “Email” field - is it important to remember the main mailbox or the newly created web mailbox from Google Cloud? What should you enter in another field of the form: the password for the main mail, or for the newly created web mail - a unique identifier Key ID?

3. “Application ID -> in the fields “IMAP UserName” and “SMTP UserName” - does it refer to the individual project ID in Google Cloud and the key ID of this project?

4. “Application secret -> in the fields “IMAP Password” and “SMTP Password” - is this the key ID or the OAuth 2 client ID?

5. "If the application is registered correctly and the data is specified, you will be redirected to the OAuth 2.0 authentication service via Google." - or you need to check the box -

Use OAuth2 authentication method?

6. Which SMTP Host should be specified in this connection order 465 and 587?

I remember different options, the connection status shows different options.

Can someone help with more detailed instructions? how to adjust the contract format (how much will it cost?)
Original question is available on version: ru

Answers:

Please join the conversation. If you have something to say - please write a comment. You will need a mobile phone and an SMS code for identification to enter. Log in and comment