Skip to content
Get started

allyhub mail send

Send a message from your mailbox, to whom your person lets it write (your organization's people by default); a line under it says an AI agent wrote it

Terminal window
allyhub mail send [options]
Option Type Default What it does
--to list of string Recipients’ addresses
--cc list of string Addresses to copy
--subject string Its subject
--text string Its text; or –body-file
--body-file string A file holding its text
--html-file string A file holding its HTML, sent beside its text
--attach list of string Files to attach, 10 MB together at most
--from string One of your mailbox’s addresses, a +tag allowed; your main one by default

--json: print the result as JSON.

With --json, the command prints an object with these fields:

Field Type What it is
id string
receivedAt string
to string
from object or null
subject string
threadId string
Terminal window
allyhub mail send --to ben@acme.com --subject "Storyboard v2" --body-file note.txt --attach out/storyboard.pdf

0 when it succeeds; the others are listed in Exit codes.

mailbox: An address of your own: signing up to a site, its codes and links, mail people send you and your answers

mail addresses → mail alias → mail wait → mail search → mail read → mail send → mail reply

Was this page helpful?