Disconnect action in Gmail package

The Disconnect action terminates an existing session with the Gmail server. This action is typically used to close an active Gmail session after all required operations are completed.

Consideration

An error is displayed if any of the following conditions are encountered when you deploy your automation to disconnect a session:
  • The specified session is invalid
  • The session has expired or is disconnected.

Settings

Select the Gmail session using one of the following options:
  • Session name: To select an existing Gmail session by name.
  • Variable: Select a variable of type Session with sub-type Gmail
Note: Ensure that the session is created using the Gmail Connect action before it can be used.