Why "Get Mail Message" activity failing with "Precondition Check Failed. [400]" error message when trying to read / send emails from Gmail inbox using GSuite Application Scope with ServiceAccountKey as mode of Authentication?
Issue Description: When "Get Mail Message" activity is used within the "GSuite Application Scope" using "ServiceAccountKey" Authentication, the execution fails at the activity with error "Precondition Check Failed. [400]"(as shown in the below snippet) though the configurations on GSuite Application were done as per the following GSuite Application Scope documentation.
Resolution:
When using "ServiceAccountKey" as the Authentication type for "GSuite", as per Google, it is required to provide a Domain wide access to Service account as to meet the precondition check. (Refer - Google Documentation).