Products G Suite Developer Gmail Android Gmail Reference com.google.android.gm.contentprovider Classes GmailContract Contract for use with the Gmail content provider. GmailContract.Labels Table containing label information. GmailContract.Labels.LabelCanonicalNames Label canonical names for default Gmail system labels. Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see our Site Policies. Java is a registered trademark of Oracle and/or its affiliates. Last updated April 23, 2019.