# allyhub mail read

> Read a message: its text, its links and its attachments' names; its HTML or the message as it came on ask

Source: https://allyhub.com/docs/reference/cli/mail-read · AllyHub 0.10.0
Index of all docs: https://allyhub.com/llms.txt

## Usage

```bash
allyhub mail read [id] [options]
```

## Arguments

| Argument | Type | What it is |
| --- | --- | --- |
| `<id>` | string | The message's id, from mail search or mail wait |

## Options

| Option | Type | Default | What it does |
| --- | --- | --- | --- |
| `--html` | boolean | `false` | Include its HTML |
| `--raw` | boolean | `false` | Print the message as it came (MIME), headers and all |

## Global options

`--json`: print the result as JSON.

## Examples

```bash
allyhub mail read 3f2c… --html
```

## Exit codes

`0` when it succeeds; the others are listed in [Exit codes](https://allyhub.com/docs/reference/cli/exit-codes.md).

## 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`](https://allyhub.com/docs/reference/cli/mail-addresses.md) → [`mail alias`](https://allyhub.com/docs/reference/cli/mail-alias.md) → [`mail wait`](https://allyhub.com/docs/reference/cli/mail-wait.md) → [`mail search`](https://allyhub.com/docs/reference/cli/mail-search.md) → `mail read` → [`mail send`](https://allyhub.com/docs/reference/cli/mail-send.md) → [`mail reply`](https://allyhub.com/docs/reference/cli/mail-reply.md)
