---
title: "Contacts and labels"
description: "`contacts` and `labels`, the two lists a mailbox screen reads most."
url: "https://nextmail.sh/docs/mailbox/contacts"
area: "Client"
category: "Mailbox"
---

# Contacts and labels

`contacts` and `labels`, the two lists a mailbox screen reads most.

## Contacts

**contacts.ts**

```
const page = await client.contacts.list({ limit: 100 })

const saved = await client.contacts.create({
  email: 'grace@example.com',
  name: 'Grace Hopper',
})

await client.contacts.delete(saved.email)
```

## Labels

**labels.ts**

```
const labels = await client.labels.listAll()

await client.labels.create({ name: 'Invoices' })
```
