# Follow-ups

Email you sent that still waits for an answer.

An SDK signs every request with your key: [Authentication](https://mailset.app/docs/authentication.md). To sign one yourself, see [Calling the API without an SDK](https://mailset.app/docs/authentication/http.md).

## followups.list

List mail you sent that is waiting for an answer.

`POST /v1/followups.list`

Any signed-in person, with an API token.

### Parameters

It takes no input: send an empty object.

### Returns

`data` is a list of objects, each with:

- `threadId` (string)
- `mailbox` (string)
- `subject` (string)
- `sentAt` (number)
- `remindedAt` (nullable number): Null while it’s waiting.

### Request

TypeScript:

```typescript
import { Mailset } from 'mailset';

// Reads MAILSET_TOKEN from the environment.
const mailset = new Mailset();

const answer = await mailset.followups.list();
console.log(answer);
```

Python:

```python
from mailset import Mailset

# Reads MAILSET_TOKEN from the environment.
mailset = Mailset()

answer = mailset.followups.list()
print(answer)
```

Go:

```go
package main

import (
	"context"
	"fmt"
	"log"

	mailset "mailset.app/go"
)

func main() {
	// Reads MAILSET_TOKEN from the environment.
	client, err := mailset.NewClient()
	if err != nil {
		log.Fatal(err)
	}
	ctx := context.Background()
	answer, err := client.Followups.List(ctx)
	if err != nil {
		log.Fatal(err)
	}
	fmt.Println(answer)
}
```

Ruby:

```ruby
require 'mailset'

# Reads MAILSET_TOKEN from the environment.
mailset = Mailset::Client.new

answer = mailset.followups.list
p answer
```

PHP:

```php
<?php

require 'vendor/autoload.php';

// Reads MAILSET_TOKEN from the environment.
$mailset = new Mailset\Client();

$answer = $mailset->followups->list();
echo json_encode($answer, JSON_PRETTY_PRINT), PHP_EOL;
```

Java:

```java
import app.mailset.Mailset;
import app.mailset.model.FollowUp;
import java.util.List;

// Reads MAILSET_TOKEN from the environment.
Mailset mailset = Mailset.fromEnv();

List<FollowUp> answer = mailset.followups().list();
System.out.println(answer);
```

Rust:

```rust
// Reads MAILSET_TOKEN from the environment.
let mailset = mailset::Client::from_env()?;

let answer = mailset.followups().list().await?;
println!("{answer:?}");
```

curl:

```bash
curl https://mailset.app/v1/followups.list \
  -H "Authorization: Bearer $TOKEN" \
  -H "ms-time: $MS_TIME" \
  -H "ms-proof: $MS_PROOF" \
  -H "Content-Type: application/json" \
  -d '{"input":{}}'
```

curl can’t sign a request. `$TOKEN` is your credential’s token, and `$MS_TIME` and `$MS_PROOF` sign this exact body: [Calling the API without an SDK](https://mailset.app/docs/authentication/http) shows how.

CLI:

```bash
mailset followups list
```

### Response

```json
{
  "ok": true,
  "data": [
    {
      "threadId": "out_3f9a1c0e7b2d",
      "mailbox": "text",
      "subject": "Your Acme receipt",
      "sentAt": 1796048940000,
      "remindedAt": 1796048940000
    }
  ]
}
```

In the CLI: [mailset reference](https://mailset.app/docs/cli/followups#followups-list)

## followups.dismiss

Stop reminding you about a conversation.

`POST /v1/followups.dismiss`

Any signed-in person, with an API token.

### Parameters

- `id` (string, required): The conversation’s id.

### Returns

`data` is an object with:

- `dismissed` (boolean)

### Request

TypeScript:

```typescript
import { Mailset } from 'mailset';

// Reads MAILSET_TOKEN from the environment.
const mailset = new Mailset();

const answer = await mailset.followups.dismiss({
	id: "t_5d2c8a1f9e3b47c6a0d1e2f3",
});
console.log(answer);
```

Python:

```python
from mailset import Mailset

# Reads MAILSET_TOKEN from the environment.
mailset = Mailset()

answer = mailset.followups.dismiss(
    {"id": "t_5d2c8a1f9e3b47c6a0d1e2f3"}
)
print(answer)
```

Go:

```go
package main

import (
	"context"
	"fmt"
	"log"

	mailset "mailset.app/go"
)

func main() {
	// Reads MAILSET_TOKEN from the environment.
	client, err := mailset.NewClient()
	if err != nil {
		log.Fatal(err)
	}
	ctx := context.Background()
	params := &mailset.FollowupsDismissParams{
		ID: "t_5d2c8a1f9e3b47c6a0d1e2f3",
	}
	answer, err := client.Followups.Dismiss(ctx, params)
	if err != nil {
		log.Fatal(err)
	}
	fmt.Println(answer)
}
```

Ruby:

```ruby
require 'mailset'

# Reads MAILSET_TOKEN from the environment.
mailset = Mailset::Client.new

answer = mailset.followups.dismiss(
  id: 't_5d2c8a1f9e3b47c6a0d1e2f3'
)
p answer
```

PHP:

```php
<?php

require 'vendor/autoload.php';

// Reads MAILSET_TOKEN from the environment.
$mailset = new Mailset\Client();

$answer = $mailset->followups->dismiss([
    'id' => 't_5d2c8a1f9e3b47c6a0d1e2f3',
]);
echo json_encode($answer, JSON_PRETTY_PRINT), PHP_EOL;
```

Java:

```java
import app.mailset.Mailset;
import app.mailset.model.FollowupsDismissParams;
import app.mailset.model.FollowupsDismissResult;

// Reads MAILSET_TOKEN from the environment.
Mailset mailset = Mailset.fromEnv();

var params = FollowupsDismissParams.builder()
        .id("t_5d2c8a1f9e3b47c6a0d1e2f3")
        .build();
FollowupsDismissResult answer =
        mailset.followups().dismiss(params);
System.out.println(answer);
```

Rust:

```rust
use mailset::types::FollowupsDismissParams;

// Reads MAILSET_TOKEN from the environment.
let mailset = mailset::Client::from_env()?;

let answer = mailset
    .followups()
    .dismiss(FollowupsDismissParams {
        id: "t_5d2c8a1f9e3b47c6a0d1e2f3".into(),
    })
    .await?;
println!("{answer:?}");
```

curl:

```bash
curl https://mailset.app/v1/followups.dismiss \
  -H "Authorization: Bearer $TOKEN" \
  -H "ms-time: $MS_TIME" \
  -H "ms-proof: $MS_PROOF" \
  -H "Content-Type: application/json" \
  -d '{"input":{"id":"t_5d2c8a1f9e3b47c6a0d1e2f3"}}'
```

curl can’t sign a request. `$TOKEN` is your credential’s token, and `$MS_TIME` and `$MS_PROOF` sign this exact body: [Calling the API without an SDK](https://mailset.app/docs/authentication/http) shows how.

CLI:

```bash
mailset followups dismiss t_5d2c8a1f9e3b47c6a0d1e2f3
```

### Response

```json
{
  "ok": true,
  "data": {
    "dismissed": true
  }
}
```

In the CLI: [mailset reference](https://mailset.app/docs/cli/followups#followups-dismiss)

---

© 2026 Intenseloop, Inc. Mailset’s site, docs and guides are copyrighted. You may read them and use their code to build with Mailset. Don’t republish them or use them to build a copy of Mailset. Terms: https://mailset.app/terms#content