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
allyhub mail send [options]Options
Section titled “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 |
Global options
Section titled “Global options”--json: print the result as JSON.
Output
Section titled “Output”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 |
Examples
Section titled “Examples”allyhub mail send --to ben@acme.com --subject "Storyboard v2" --body-file note.txt --attach out/storyboard.pdfExit codes
Section titled “Exit codes”0 when it succeeds; the others are listed in Exit codes.
In the work
Section titled “In the work”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