EmailPreferences

The categories of notifications the user opted into / opted out of. The email preferences do not include mandatory announcements as users can't opt out of them.

JSON representation
{
  "name": string,
  "newsAndTips": enum (OptInState)
}
Fields
name

string

Identifier. The name of the EmailPreferences. The endpoint is only supported for the authenticated user.

newsAndTips

enum (OptInState)

Optional. Updates on new features, tips and best practices.

OptInState

Opt in state of the email preference.

Enums
OPT_IN_STATE_UNSPECIFIED Opt-in status is not specified.
OPTED_OUT User has opted out of receiving this type of email.
OPTED_IN User has opted in to receiving this type of email.
UNCONFIRMED User has opted in to receiving this type of email and the confirmation email has been sent, but user has not yet confirmed the opt in (applies only to certain countries).