# inboxjot send

Send an email.

## send

Send an email.

```sh
inboxjot send [options]
```

| Option                     | Description                                           |
| -------------------------- | ----------------------------------------------------- |
| `--from <ADDRESS>`         | Sender, on a verified domain.                         |
| `--to <ADDRESS>`           | Recipient. Repeat it for more.                        |
| `--cc <ADDRESS>`           | Carbon copy recipients.                               |
| `--bcc <ADDRESS>`          | Blind carbon copy recipients.                         |
| `--reply-to <ADDRESS>`     | Addresses that replies go to.                         |
| `--subject <TEXT>`         | Subject line.                                         |
| `--html <HTML>`            | HTML body.                                            |
| `--html-file <PATH>`       | Read the HTML body from a file.                       |
| `--text <TEXT>`            | Plain text body.                                      |
| `--text-file <PATH>`       | Read the plain text body from a file.                 |
| `--template <ID>`          | Send a template instead of a body.                    |
| `--data <JSON>`            | Template variables.                                   |
| `--attach <PATH>`          | Attach a file; repeat for more files.                 |
| `--tag <NAME=VALUE>`       | Add a tag; repeat for more tags.                      |
| `--header <'NAME: VALUE'>` | Add an email header; repeat for more headers.         |
| `--scheduled-at <TIME>`    | Send later, such as 2026-11-20T09:00:00Z or "in 10m". |
| `--input <PATH>`           | Read the whole JSON body from a file, or - for stdin. |
| `--dry-run`                | Print the JSON body and send nothing.                 |
| `--wait`                   | Wait until it is delivered or bounced.                |
| `--timeout <TIMEOUT>`      | Stop waiting after this long. Default: `2m`.          |

```sh
inboxjot send --from "Acme <hi@acme.com>" --to riti@example.com --subject "Welcome" --text "Thanks for signing up"
inboxjot send --from hi@acme.com --to riti@example.com --template tpl_06d2mfk8r5cx3nd8vt1qa --data '{"name":"Riti"}'
inboxjot send --from hi@acme.com --to bounced@inboxjot.dev --subject Test --text Hi --wait
```
