Send HIPAA compliant email from the terminal, or your agent: Introducing Paubox CLI
Today we're launching the Paubox CLI. It allows developers and agents to send HIPAA compliant email from the command line.
A command line interface (CLI) is a written form of talking directly to the computer. The dashboard may prompt the user to select a report, choose a date range, and click download. The user could type one command into a CLI that says which report to create, which dates to use, and where to save the file.
CLIs are helpful in technical environments. They can help teams do things repeatedly, connect systems, and automate work that would otherwise require someone to click through the same steps again and again. In a GigaScience paper, the authors describe a system that can “automatically publish, integrate and execute command line applications across computational platforms." Or, to put it another way, command line tools can also help different systems to operate in tandem.
Dashboards and CLIs are both interfaces. They are both ways for people to use software. The difference is how the instruction is given. A dashboard is visual. It gives users buttons, fields, icons, drop down menus, and charts. It is useful when someone needs to explore information, make choices on screen or complete a task manually. A staff member who only needs to send one message or review one report may find a dashboard more useful.
A CLI asks the user to type a command instead of clicking through visual options as it is text based. It can make it less approachable for a general user, but more useful for a technical user who needs speed, control and repeatability. For example, a dashboard might be better when a user needs to review a list of patients before sending a message. A CLI might be better when a developer needs to send the same type of message every weekday at 8 a.m., using data from another system.
The repetitive nature is why technical teams often prefer command line workflows for repeatable tasks. A Bioinformatics paper explains that the command line gives users “finer control over the executed commands and easily streamlines repetitive tasks.”
You can send email with a CLI, but it usually works with a script or an API, or both. A script is a collection of written instructions that tell a computer what to do. For example, in an email workflow, a script could gather details of the recipient, fill them into a message template, select the appropriate sender address and send the message via an email service.
An application programming interface (API) is the connection that allows one system to talk to another. If the script is the instruction, the API is the route the instruction travels through. A script can pull the right information, place each patient’s details into the correct reminder template and send those standardized messages through an email API. The CLI is the way a developer can run or manage that process.
It can save time because the same workflow does not need to be rebuilt each day manually. But automation also creates responsibility. A script, however, should not simply send messages as quickly as possible. It must be designed to protect credentials, check recipient details, use encryption, log activity, and respond properly if delivery fails.
The compliance factor is especially necessary when an email can contain protected health information. Paubox’s 2026 Healthcare Email Security Report found that 170 healthcare email related breaches occurred in 2025. The report also found that Microsoft 365 hosted 53% of healthcare breaches and that 74% of breached domains had ineffective domain protection. If a healthcare organization sends email through a poorly configured system, it can expose patient data or make it easier for attackers to impersonate the organization’s domain.
Many healthcare email messages follow this same pattern, and even as details differ, the structure is the same. A CLI based workflow can help if a developer builds a process that connects the systems. The benefit is consistency, too.
When the same process runs the same way over and over, it is less reliant on someone remembering every manual step. Commands, scripts, and logs can show how the process was run, so it also makes it easy to review what happened.
Based on what the Bioinformatics paper notes if a clinic sends the same type of reminder or follow up message every day, a CLI based workflow can help make that process repeatable and easier to document. It does not mean the CLI makes the workflow compliant on its own, as HIPAA compliant safeguards are still needed to ensure that the information shared remains secure.
The Paubox Email API enables developers to send HIPAA compliant, encrypted email from applications, systems, or scripts. In a CLI workflow, a script might call the Paubox API and pass the information necessary to send the message. Paubox then delivers the secure email through its infrastructure.
A simple workflow might look something like a scheduling system identifies which patients need a reminder. A script pulls the appointment details, the message is placed into a template, and the script calls the Paubox API to send the email. The patient receives the message in their inbox, without having to log into a separate portal.
See also: HIPAA Compliant Email: The Definitive Guide (2026 Update)
No. The CLI is just an interface. HIPAA compliance depends on encryption, authentication, auditing and agreements with service providers.
Not if the underlying email service is secure.
Use dashboards for occasional tasks, interactive exploration or training. CLIs are useful for more detailed tasks where typed commands are needed.
Today we're launching the Paubox CLI. It allows developers and agents to send HIPAA compliant email from the command line.
cURL (pronounced "curl") is a command-line tool and library used to transfer data to or from a server using various protocols. It's commonly used in...
Businesses across all industries are increasingly using application programming interfaces (APIs) to improve workflows and automate tasks. For...
Every Friday we bring you the most important news from Paubox. Our aim is to make you smarter, faster.