> ## Documentation Index
> Fetch the complete documentation index at: https://docs.photon.codes/docs/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Use Stable documentation by default. Honor an explicit Beta request or a URL under /docs/beta/. If the requested version conflicts with the installed CLI package or API origin, clarify the target before writing integration code.
> Pages under /docs/beta/ document Beta; other product pages document Stable. Keep the CLI package, commands, API origin, and credentials within the selected version. State the documentation version in your answer.
> For MCP search, always pass version: Stable or version: Beta. Unfiltered search mixes both versions. For filesystem reads, keep Beta queries under /beta/ and exclude /beta/ from Stable queries; discover paths before reading them.
> The public docs base is https://photon.codes/docs. Convert MCP page paths to public URLs under that base, preserving /beta/ when present. Read https://photon.codes/docs/skill.md for version selection and https://photon.codes/docs/llms.txt for the version indexes.

# List email recommendations

> List email recommendations: listEmailRecommendations in the TypeScript, Python, Rust and Go clients.

`GET /v1/projects/{id}/platforms/email/recommendations`

Reads Photon guidance from stored sending policies, sending setup and domain checks. Project and Organization restrictions repeat on each page of domain observations. Follow nextPageToken until hasMore is false; observations describe only the current page. Recommendations are advisory reads, never permission to send or resume. Reputation-rate guidance and supplementary delivery advice are explicitly unavailable until their sources are integrated. An empty list does not indicate healthy reputation or resolved findings. Requires platforms:read for the path Project.

**TypeScript**

```typescript TypeScript theme={null}
photon.projects.platforms.listEmailRecommendations(input: ListEmailRecommendationsInput, options?: RequestOptions): Promise<ListEmailRecommendationsOutput>
```

**Python**

```python Python theme={null}
photon.projects.platforms.list_email_recommendations(input: ListEmailRecommendationsInput) -> models.EmailRecommendations
```

**Rust**

```rust Rust theme={null}
client.list_email_recommendations(id: String, params: Option<ListEmailRecommendationsParams>).await -> Result<ResponseValue<types::EmailRecommendations>, Error<ListEmailRecommendationsError>>
```

**Go**

```go Go theme={null}
client.Projects.Platforms.ListEmailRecommendations(ctx context.Context, params *ListEmailRecommendationsParams, opts ...RequestOption) (*EmailRecommendations, error)
```

```typescript TypeScript theme={null}
import { Photon } from "@photon-ai/api";

const photon = new Photon({
  headers: { Authorization: `Bearer ${process.env.PHOTON_API_TOKEN}` },
});
const result = await photon.projects.platforms.listEmailRecommendations({
  path: {
    id: "id",
  },
});
```

```python Python theme={null}
import os

from photon_api import Photon
from photon_api.rpc_generated import ListEmailRecommendationsInput

photon = Photon(headers={"Authorization": f"Bearer {os.environ['PHOTON_API_TOKEN']}"})
result = photon.projects.platforms.list_email_recommendations(
    ListEmailRecommendationsInput.model_validate({
        "path": {
            "id": "id",
        },
    })
)
```

```rust Rust theme={null}
use photon_ai_api::{Credential, PhotonClientBuilder, SecretString};

let token = std::env::var("PHOTON_API_TOKEN")?;
let client = PhotonClientBuilder::new()
    .credential("accountServiceKey", Credential::Bearer(SecretString::from(token)))
    .build()?;
let result = client
    .list_email_recommendations("id".to_owned(), None)
    .await
    .map_err(|error| format!("{error:?}"))?
    .into_inner();
```

```go Go theme={null}
import (
	"context"
	"os"

	photonapi "github.com/photon-hq/api/packages/go"
)

ctx := context.Background()
client := photonapi.NewClient(photonapi.WithAPIKey(os.Getenv("PHOTON_API_TOKEN")))
result, err := client.Projects.Platforms.ListEmailRecommendations(ctx, &photonapi.ListEmailRecommendationsParams{
	ID: "id",
})
if err != nil {
	return err
}
_ = result
```

```json 200 theme={null}
{
  "coverage": {
    "deliveryAdvice": "unavailable",
    "reputation": "unavailable",
    "sendingPolicies": "available",
    "sendingSetup": {
      "observationStatus": "current",
      "observedAt": "2026-01-01T00:00:00Z"
    }
  },
  "domainPage": {
    "hasMore": true,
    "nextPageToken": "string",
    "observations": [
      {
        "observationStatus": "current",
        "observedAt": "2026-01-01T00:00:00Z",
        "resourceId": "string"
      }
    ]
  },
  "readAt": "2026-01-01T00:00:00Z",
  "recommendations": [
    {
      "action": {
        "code": "contact_support"
      },
      "category": "sending_restriction",
      "code": "project_sending_paused",
      "description": "string",
      "observationStatus": "current",
      "observedAt": "2026-01-01T00:00:00Z",
      "scope": {
        "type": "project"
      },
      "severity": "info",
      "status": "active",
      "title": "string"
    }
  ]
}
```

## Parameters

**id** `string` *required*

**pageSize** `integer`

**pageToken** `string`

## Returns

**`200`** Scoped recommendations and explicit observation coverage. EmailRecommendations

**coverage** `EmailRecommendationsCoverage` *required*

**domainPage** `EmailRecommendationsDomainPage` *required*

**readAt** `string (date-time)` *required*

**recommendations** `array of EmailRecommendation` *required*


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.