getProfile returns basic information about the connected Gmail mailbox. Use it to identify the selected account or inspect mailbox-wide message and thread totals.
Example
automations/get-gmail-profile.automation.ts
Inputs
The account can also be supplied by a compatible
Signal.
Output
Returns aSignal<GmailProfile>:
The totals describe the entire mailbox; they are not counts for a search query or label.