List emails
The emails the workspace has sent, newest first, by status, time and search.
opensend emails list [flags]Flags
--qstringText to search for. Only items that contain it are returned. Up to 40 characters.
--limitintegerHow many items to return, from 1 to 100. Without it you get 25.
--offsetintegerHow many items to skip. Use it with
limitto read the next page. Default:0.--afterstringThe id of the last item you have. The answer starts with the item that follows it, which reads a long list without skipping or repeating when it changes meanwhile. Up to 64 characters.
--beforestringThe id of the first item you have. The answer ends with the item just before it. Give this or
after, not both. Up to 64 characters.--rangestringThe period to look at:
today,week,month,year,allorcustom. Without it there is no limit in time.One of
todayweekmonthyearallcustom--fromstringThe first day of a
customperiod, as a date such as2026-11-01.--tostringThe last day of a
customperiod, as a date such as2026-11-30.--statusstringOnly emails in this state.
One of
queuedsentdelivereddelayedbouncedopenedclickedcomplainedfailedscheduledcanceled--modestringOnly real emails (
live) or only emails of the sandbox (test).One of
livetest
Returns
The command prints the answer: as JSON when its output goes to a file or another program, and as a table or a list of fields in a terminal. When the API refuses, the error goes to the error stream and the command ends with a code that names the failure. Output and scripts lists the codes.
object"list"Always
list.dataobject[]The items on this page.
data[].object"email"Always
email.data[].idstringThe id of the email.
data[].fromstringThe sender.
data[].tostring[]Who the email is for.
data[].subjectstringThe subject line.
data[].statusstringWhere the email is:
scheduled,queued,sent,delivered,delayed,bounced,complained,failedorcanceled, andopenedorclickedonce the recipient acts.One of
queuedsentdelivereddelayedbouncedopenedclickedcomplainedfailedscheduledcanceleddata[].modestringlivefor a real email.testfor an email of the sandbox: it was sent with a test key or to test addresses, nothing left the service and what happened to it is simulated.One of
livetestdata[].domainstringThe domain it was sent from.
data[].ccstring[]Who got a copy.
data[].bccstring[]Who got a copy without the others seeing.
data[].replyTostring | nullThe address replies go to, or
null.data[].scheduledAtstring | nullWhen it is due to be sent, or
nullfor an email sent at once.data[].createdAtstringWhen the API accepted the email.
totalintegerHow many items match in all, on every page together.
hasMorebooleanWhether more items follow this page.