Skip to main content
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

Returns Signal<GmailProfile>:
The totals describe the entire mailbox. They’re not counts for a search query or label.