Skip to the documentation
API

Senders

Every operation in this group: what it accepts, what it returns and the errors it can answer with.

Operations

What is known about the organisation behind a sender: the line the reading pane shows under an unfamiliar sender, kept per domain and shared by every workspace.

GET/senders/{email}

Read what is known about a sender

Scopesthreads:readReads

A sentence or two about the organisation behind the domain of the address, once it has been looked up. Every address under a domain shares its answer, a subdomain such as mail.stripe.com included, and an answer older than 30 days is looked up again by itself. A domain nobody has looked up yet is a 404, and so are personal mailbox providers such as Gmail and the domains of this workspace: POST /senders/{email}/research looks a domain up.

Requires the threads:read scope.

Path parameters

emailstringRequired

An address of the sender, such as billing@stripe.com. Only its domain is read.

Returns

What is known about the sender.

Errors

The errors every operation can return400401403404422429500Error catalog

Also available in

TypeScript
nextmail.senders.get()
Python
senders.get()
Ruby
senders.get
PHP
senders->get
Go
Senders.Get
Java
senders().get
C#
Senders.GetAsync
CLI
nextmail senders get
MCP
getSenderProfile

POST/senders/{email}/research

Look a sender up

Scopesthreads:readReads

Searches the web for the organisation behind the domain of the address and keeps what it found, as the reading pane does the first time it shows a sender. Every address under the domain shares the answer, a subdomain included, and it is kept for 30 days before it is looked up again, so a domain that was looked up before is answered from what was kept and nothing is searched. Personal mailbox providers such as Gmail and the domains of this workspace are never looked up. Only the owner of the workspace may look senders up, with a key or an app that is not limited to particular addresses or domains, and a workspace looks up at most 200 new domains a day.

Requires the threads:read scope.

Path parameters

emailstringRequired

An address of the sender, such as billing@stripe.com. Only its domain is read.

Returns

What was found.

Errors

404

Nothing could be found about the domain, or it is a personal mailbox provider or a domain of this workspace.

409

ai_not_configured: looking senders up is not available on this server.

429

research_limit_reached: the workspace has looked up 200 new domains today.

rate_limited: the key or app made more than 600 requests in 60 seconds. Wait for the seconds in Retry-After.

The errors every operation can return400401403422500Error catalog

Also available in

TypeScript
nextmail.senders.research()
Python
senders.research()
Ruby
senders.research
PHP
senders->research
Go
Senders.Research
Java
senders().research
C#
Senders.ResearchAsync
CLI
nextmail senders research
MCP
getSenderProfile

Objects

SenderProfileobject

objectstringRequired
One of"sender_profile"
domainstringRequired

The domain that was looked up: the organisation's own domain, which its subdomains share.

aboutstringRequired

A sentence or two in plain prose about the organisation behind it.

Up to 400 characters
updatedAtstringRequired

When it was last looked up.

Formatdate-time