
# Threads and drafts

Generated from `--help` output of fob-email 0.2.0. Every command also accepts `--help` and `--version`.

## threads

### threads list

```text
fob-email threads list

List conversations in a folder (newest activity first)

Options:
      --account  Configured account name                                [string]
      --folder   Mailbox folder                      [string] [default: "INBOX"]
      --limit    Max threads                              [number] [default: 50]
      --json     Output raw JSON                                       [boolean]
```

### threads show

```text
fob-email threads show <id>

Show the full conversation containing a message

Positionals:
  id  Message id (per-folder UID)                            [number] [required]

Options:
      --account  Configured account name                                [string]
      --folder   Mailbox folder                      [string] [default: "INBOX"]
      --json     Output raw JSON                                       [boolean]
```

## drafts

### drafts list

```text
fob-email drafts list

List saved drafts

Options:
      --account  Configured account name                                [string]
      --json     Output raw JSON                                       [boolean]
```

### drafts create

```text
fob-email drafts create

Save a new draft

Options:
      --account    Configured account name                              [string]
      --to         Recipient (repeatable)                     [array] [required]
      --cc         Cc (repeatable)                                       [array]
      --bcc        Bcc (repeatable)                                      [array]
      --subject    Subject                                              [string]
      --body       Body text                                            [string]
      --body-file  Read body from a file                                [string]
      --attach     Attach a file (repeatable)                            [array]
      --json       Output raw JSON                                     [boolean]
```

### drafts edit

```text
fob-email drafts edit <id>

Replace a draft (append-new + delete-old)

Positionals:
  id  Draft id (per-folder UID)                              [number] [required]

Options:
      --account    Configured account name                              [string]
      --json       Output raw JSON                                     [boolean]
      --to         Recipient (repeatable)                     [array] [required]
      --cc         Cc (repeatable)                                       [array]
      --bcc        Bcc (repeatable)                                      [array]
      --subject    Subject                                              [string]
      --body       Body text                                            [string]
      --body-file  Read body from a file                                [string]
      --attach     Attach a file (repeatable)                            [array]
```

### drafts delete

```text
fob-email drafts delete <id>

Delete a draft

Positionals:
  id  Draft id (per-folder UID)                              [number] [required]

Options:
      --account  Configured account name                                [string]
      --json     Output raw JSON                                       [boolean]
  -y, --yes      Confirm deletion                                      [boolean]
```

### drafts send

```text
fob-email drafts send <id>

Send a saved draft (SMTP)

Positionals:
  id  Draft id (per-folder UID)                              [number] [required]

Options:
      --account  Configured account name                                [string]
      --json     Output raw JSON                                       [boolean]
```
