If you received the following error message in response to your workflow, this article can help you troubleshoot possible causes:
"Why it failed:
This action may have failed for one of the following reasons: User deleted or suspended; Gmail service disabled; POP and IMAP access is disabled.
Please check if: (1) User is in an Org Unit with Gmail enabled (2) IMAP and POP are enabled for your domain (3) User has not been deleted (4) User has not been suspended."
In this case, the action in your workflow may have failed for one of following reasons: the user in question has been suspended or may no longer exist on your domain (has already been deleted), Gmail is not enabled for this user's org unit, IMAP/POP settings are disabled for your domain, and/or BetterCloud may be out of sync with your Google data. For troubleshooting each of these items, please read on below.
User is Suspended or No Longer Exists
To confirm that the user affected by your workflow currently exists in an active state on your domain, please utilize the search bar at the top of your BetterCloud window; existing user names will auto-populate a selection, and direct you to the appropriate profile page.
You may also survey all users by navigating to Directory > Users > Explore.
On your user's profile page, you can view current account status on the right side. Hovering over the status icon will provide you with an option to change this status; you can also select "Suspend/Restore User" from the options on the left side of the page.
If you cannot find your user in BetterCloud, he or she may have already been deleted. If so, you can view recently deleted users (and restore them, if necessary) for up to five days after their deletion date in the Admin Console. Please see: Restore a Recently Deleted User
If you see any discrepancies in your directory in BetterCloud vs the Admin Console, you can run a sync to resolve them. To run a sync, please see the last item below.
Gmail Disabled for Org Unit
To confirm that Gmail is enabled for this user's org unit, navigate to admin.google.com > Apps > G Suite. Locate the 'three dot' icon next to the listing for Gmail, and select either "ON for everyone", or ensure that the appropriate org unit is included among the org units for which Gmail is enabled.
IMAP/POP Disabled for Domain
To confirm that IMAP/POP settings are enabled for your domain, navigate to admin.google.com > Apps > G Suite >Gmail > User Settings. Scroll down to "End User Access" > "POP and IMAP Access", and confirm that this box is unchecked.