2727 * - `state` - Your original state parameter
2828 *
2929 * **Store the `inbox_token` client-side** and use it for all subsequent inbox API calls.
30+ * The token is long-lived (it stores an encrypted refresh token), so a single OAuth
31+ * connect gives ongoing access to both historical and future CAS statements in the
32+ * user's inbox. Reuse the same token until the user revokes access via
33+ * `/v4/inbox/disconnect` or their provider's account settings.
3034 *
3135 * @see CasParser\Services\InboxService::connectEmail()
3236 *
@@ -51,11 +55,18 @@ final class InboxConnectEmailParams implements BaseModel
5155 /**
5256 * Mail provider to connect. Defaults to `gmail`.
5357 *
54- * - `gmail` - Google accounts
55- * - `outlook` - Microsoft accounts
58+ * - `gmail` - Google accounts: `@gmail.com` and Google
59+ * Workspace domains.
60+ * - `outlook` - personal Microsoft accounts: `@outlook.com`,
61+ * `@hotmail.com`, `@live.com`, `@msn.com` and localised
62+ * variants (`@hotmail.co.uk`, `@live.in`, `@hotmail.fr`).
63+ * Any other address registered as a personal Microsoft
64+ * account also works, including custom domains.
65+ * - `zoho` - Zoho Mail accounts, including custom domains
66+ * hosted on Zoho.
5667 *
57- * Any value other than `outlook` is treated as `gmail`. The
58- * resolved provider is returned in the response.
68+ * Any unrecognised value is treated as `gmail`. The resolved
69+ * provider is returned in the response.
5970 *
6071 * @var value-of<Provider>|null $provider
6172 */
@@ -123,11 +134,18 @@ public function withRedirectUri(string $redirectUri): self
123134 /**
124135 * Mail provider to connect. Defaults to `gmail`.
125136 *
126- * - `gmail` - Google accounts
127- * - `outlook` - Microsoft accounts
137+ * - `gmail` - Google accounts: `@gmail.com` and Google
138+ * Workspace domains.
139+ * - `outlook` - personal Microsoft accounts: `@outlook.com`,
140+ * `@hotmail.com`, `@live.com`, `@msn.com` and localised
141+ * variants (`@hotmail.co.uk`, `@live.in`, `@hotmail.fr`).
142+ * Any other address registered as a personal Microsoft
143+ * account also works, including custom domains.
144+ * - `zoho` - Zoho Mail accounts, including custom domains
145+ * hosted on Zoho.
128146 *
129- * Any value other than `outlook` is treated as `gmail`. The
130- * resolved provider is returned in the response.
147+ * Any unrecognised value is treated as `gmail`. The resolved
148+ * provider is returned in the response.
131149 *
132150 * @param Provider|value-of<Provider> $provider
133151 */
0 commit comments