publ betaReference (MCP guide)
Open publ console

publ Reference

email_draft_labels_get

Read one email's labels and the label catalog in the Email app (pApp F00003). Requires the email ID. Returns a revision. Changes nothing.

Inputs

Field Required here Contract
emailId Yes string; pattern ^[A-Za-z0-9_-]{1,200}$; Exact email identifier returned by email_drafts_get.