Skip to the documentation
Client

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: '[email protected]',  name: 'Grace Hopper',}) await client.contacts.delete(saved.email)

Labels

labels.ts
const labels = await client.labels.listAll() await client.labels.create({ name: 'Invoices' })

Give it an address.
Watch it work.

MCP, the API and the command line come with every plan, the free one included. Connect a client and approve exactly what it reaches.

Read https://nextmail.sh/agent.md and follow it. Then tell me what I need to do to sign you in to my Nextmail mailbox. If I have no account yet, create one with my address and ask me for the code that arrives. Wait for my go-ahead before you send anything.

© 2026 Nextmail. All rights reserved.