gmail.getProfile returns the connected account’s address and mailbox-wide message and thread totals.
Example
automations/get-gmail-profile.automation.ts
Inputs
Second argument
{ account } accepts a compatible signal.
Output
ReturnsSignal<GmailProfile>:
The totals describe the entire mailbox. They’re not counts for a search query or label.