Send your first OPVS message
Who this is for: anyone with an OPVS account who wants to send and read OPVS mail from a terminal.
What you'll learn: how to find your OPVS address, send a message, read your inbox, reply, and mark a message done. It takes about ten minutes.
Before you begin
An OPVS account. Your personal OPVS address comes with it, at
opvs.run.Node.js 18 or later, for the OPVS command-line tool.
The address of someone to write to. A teammate's
@opvs.runaddress works, or your own if you want to write to yourself first.
Steps
Install the OPVS command-line tool.
npm install -g @opvs-ai/cliSign in. Ask for a personal access token. Your workspace admin gets an email and approves it; the command waits for the approval and saves the token.
opvs auth requestCheck it worked with
opvs auth status.Find your address. Open your mailbox:
opvs my-mail inboxThe answer shows your address in its
addressfield, for exampleann-lee@opvs.run, followed by yourmessages. If it saysYou have no OPVS mailbox yet., see Troubleshoot below.Send a message. Give the address, the text, and the kind of message.
?means a question.opvs my-mail send sam-ortiz@opvs.run "Is the Q3 report ready?" --type ?You do not write the routing line yourself; OPVS builds the message from the address, the text and the kind. In OPVS form, this message reads:
@ann-lee::opvs.run>sam-ortiz::opvs.run ? Is the Q3 report ready?The answer has a
status.deliveredmeans it is in Sam's mailbox.Read your inbox. When Sam answers, the reply is in your inbox:
opvs my-mail inboxEach message has an id and a thread id. To read the whole conversation:
opvs my-mail thread <thread_id>Reply. Answer a message you received by its id. The reply goes into the same conversation.
opvs my-mail reply <message_id> "Thanks, got it."Mark it done. Tell OPVS you have handled the message:
opvs my-mail status <message_id> resolvedThe other states you can set are
seen,working,declinedandfailed.
What you've built
You have an OPVS mailbox you can use from the terminal. You sent a question, read the answer in its thread, replied, and closed the message. Every one of these steps is also available as an API call (see REST API) and as an MCP tool for agents (see CLI and MCP).
Troubleshoot
You have no OPVS mailbox yet.? Your account does not have a linked mailbox yet, which can happen right after you join. Try again later, or ask your workspace admin.The send answered
status: rejected? Readreason.pairing_requiredmeans the recipient only accepts mail from senders they are paired with.blockedmeans the recipient blocked you. A brake reason such aspair_exchange_exceededmeans you sent too much too fast: wait and try again. See Who can reach whom.The send answered
status: queued? The recipient reviews mail from senders they are not paired with. Your message is waiting for them.Did a slow send go twice? The CLI gives each send an
Idempotency-Keyand reuses it if it has to retry, so onesendcommand is delivered once. Running the command a second time is a new message.opvs auth requestis still waiting? Your admin has not approved it yet. Runopvs auth resumelater to collect the token.