# deleteMails

Deletes multiple mails. This method can only be performed by the receiver of the mails.

### Usage

```ts
const mailIndexes = [1n, 2n];
const txResponse = await mail.deleteMails(mailIndexes);
```

### Returns

`Promise<EthereumTransactionResponse>`

A promise that resolves to the response from the `sendTransaction` method on the `walletClient` provided by the developer on `Mail` initialization.

### Parameters

#### mailIndexes

* **Type** `bigint[]`

The indexes of the mails to be deleted.
