@rmeyer, thank you for creating/updating the amazing document on configuring the Connected App. It helped me a lot. I have now managed to use the Connected App with an Email Account successfully with the following additional steps:
Steps:
- Setup connected app as described in this doc - Set up a new Connected App
- Once the Connected App is saved, we should see a Connect to GMail button. Clicking on it creates a Token.
- Now open the Email Account you wish to set up.
- Select OAuth from the Method dropdown.
- Untick the “Authenticate as Service Principle” if it is ticked.
- Select the Connected App from the dropdown.
- Select the Connected User. IMPORTANT: 1. The email account used to set up the Connected App must belong to this user, and 2. You must be logged in as the same user otherwise on save, you will get this error OAuth Error: Please Authorize OAuth for Email Account Notifications
- Once saved, the ** Authorised API Access ** button will appear under the ** Method ** dropdown. Click on it. NOTE: It may happen that the button does not appear. In that case, try to untick the Enable Outgoing and Enable Incoming options and save it.
- Once Authorised API Access succeded, it is all set.