---
title: "Read computer email"
description: "Returns one email."
canonical: "https://www.cool.computer/docs/api-reference/email/read-computer-email"
---
# Read computer email

> Returns one email.

```http
GET https://api.cool.computer/api/computers/{id}/emails/{emailID}
```

Returns one email.

## Authorization

- A Cool Computers API key, user access token, or claimed agent access token in the Authorization header. Follow https://www.cool.computer/auth.md for agent registration and https://www.cool.computer/authentication.md for direct user credentials.

## Parameters

- `id` (path, string, at least 1 characters, required): The computer's name, such as agent-atlas, or its id (cmp_…). Every caller may use either, the computer's own runtime token included.
- `emailID` (path, string, at least 1 characters, required): Email identifier returned by the inbox list operation.

## Responses

- `200`: One inbound or outbound email.
  - `application/json` (object)
    - `id` (string, required)
    - `direction` ("inbound" or "outbound", required)
    - `status` ("received" or "pending" or "sent" or "failed" or "ambiguous" or "rejected", required)
    - `from` (string, required)
    - `envelope_from` (string, required)
    - `sender_authentication` (string)
    - `authenticated_sender` (string)
    - `to` (array of string, required)
    - `subject` (string, required)
    - `text` (string)
    - `html` (string)
    - `message_id` (string)
    - `in_reply_to` (string)
    - `references` (string): The References header: the thread's ancestor Message-IDs, oldest first.
    - `error` (string)
    - `intake_outcome` ("started" or "continued" or "started_after_thread_conflict" or "rejected_unauthenticated_sender" or "rejected_sender_not_owner" or "rejected_owner_domain_unsigned"): What Pi did with an inbound email: started or continued a chat, or rejected it. rejected_owner_domain_unsigned is email from the account owner's verified address whose domain doesn't sign it with DKIM; the owner is sent the steps to turn DKIM signing on, at most once an hour per computer. Absent on outbound email.
    - `intake_detail` (string): For a rejected inbound email, why Pi didn't act on it and what to do next.
    - `created_at` (string, date-time, required)
- `401`: Unauthorized.
- `404`: Not Found. `computer_not_found`: the computer does not exist or is not yours. `email_not_found`: it has no email with that id.
- `429`: Too Many Requests. If the problem code is api_request_rate_exceeded, wait for Retry-After seconds; other problem codes describe a separate limit.
- `500`: Internal Server Error.
- `default`: A machine-readable API error with a stable code and recovery instruction.

An error is an `application/problem+json` document with a stable `code`; [API errors](/docs/api-reference/errors) says how to handle one.

## Example

```sh
curl "https://api.cool.computer/api/computers/$PARAM_ID/emails/$PARAM_EMAILID" \
  -H "authorization: Bearer $TOKEN"
```
