nextmail senders
Every command in this namespace, with its arguments, flags and examples.
Commands
What is known about the organisation behind a sender, the line the reading pane shows under an unfamiliar one, looking a sender up, and the picture shown for a sender.
Every command here also takes the global flags, such as --json, --profile and --dry-run. See the global flags
nextmail senders get
Read what is known about a sender
showviewUsage
nextmail senders get <email> [flags]
Resolves a sentence or two about the organisation behind the domain of an address, the line the reading pane shows under an unfamiliar sender. Only the domain is read, so any address on it gives the same answer, a subdomain such as mail.stripe.com included, and domain names the organisation's own domain. What is known is shared by every workspace and looked up again by itself once it is 30 days old.
A domain nobody has looked up yet is a 404, and so are personal mailbox providers such as Gmail and the domains of your own workspace. research looks a domain up.
Arguments
<email>RequiredAn address of the sender, such as
[email protected].
Examples
nextmail senders get [email protected]nextmail senders get [email protected] --jsonAlso available in
- API
GET /senders/{email}- TypeScript
senders.get()- Python
senders.get()- Ruby
senders.get- PHP
senders->get- Go
Senders.Get- Java
senders().get- C#
Senders.GetAsync
nextmail senders get-avatar
Fetch the picture of a sender
Usage
nextmail senders get-avatar <email> [flags]
Resolves with the picture Nextmail found for the address on Gravatar, in the BIMI logo of its domain or on the website of its domain, as the image itself: the one the app draws when nobody in the workspace and no contact has a photo for the sender. The response carries its type in Content-Type.
It is looked up the first time it is asked for and kept, so a picture not found yet can come a moment later. avatarUrl and avatarKind on get say which picture the app shows for the address, and a photo of a member, an address or a contact is served from a public URL instead.
Arguments
<email>RequiredThe address of the sender, such as
[email protected].
Flags
-o, --out <file>Write the file here. Required on a terminal. Without it, piped output gets the raw bytes
Examples
nextmail senders get-avatar [email protected]nextmail senders get-avatar [email protected] --out report.pdfAlso available in
nextmail senders research
Look a sender up
Usage
nextmail senders research <email> [flags]
Searches the web for the organisation behind the domain of an 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 such as mail.stripe.com 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 your own 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: anything else is a 422 capability_unsupported or a 403 owner_only. A workspace looks up at most 200 new domains a day, and the next one is a 429 research_limit_reached. A domain nothing could be found about, a personal mailbox provider and a domain of your own workspace are a 404.
Arguments
<email>RequiredAn address of the sender. Only its domain is looked up.
Examples
nextmail senders research hello@acme-robotics.ionextmail senders research hello@acme-robotics.io --json