# Übersicht

Canonical URL: https://developers.iagenify.com/de/sdk/ref/mailbox/
Language: de

Eine Adresse: ihre Botschaften, ihre Aliasnamen, ihr Bild und ihre Unterschrift und was sie sendet.

Status: 4 methods · messages and aliases · quota is the account's

| Member | Funktion |
| --- | --- |
| [send(options)](/de/sdk/ref/mailbox/send) | Sendet von dieser Adresse. |
| [Update(Änderungen)](/de/sdk/ref/mailbox/update) | Name, Fangstück, Bild, Unterschrift. |
| [voraus(Adressen)](/de/sdk/ref/mailbox/forward) | - Nein, höchstens fünf. |
| [remove()](/de/sdk/ref/mailbox/remove) | Löscht es. |
| [Nachrichten](/de/sdk/ref/mailbox/messages/list) | `list` · `get` · `update` · `remove` · `search`. |
| [Aliasen](/de/sdk/ref/mailbox/aliases/list) | `list` · `add` · `remove`. |

```javascript
const box = await api.mail.get("hello@example.com");

const { messages, unreadCount } = await box.messages.list({ folder: "inbox", unread: true });
await box.send({ to: "someone@example.net", subject: "Hi", text: "…" });
```

## Was es trägt {#properties}

| Name | Type | Requirement | Description |
| --- | --- | --- | --- |
| `address · local · host` | string |  | Die Adresse und ihre zwei Hälften. |
| `name` | string |  | Der Anzeigename. |
| `avatar · avatarSource` | string|null |  | Sein Bild und woher es kommt: `mailbox`, `account`- Oder gar nichts. |
| `signature` | object|null |  | `{ html, image }`, zu gesendet hinzugefügt. |
| `source` | string |  | `iagenify` oder `imap`. |
| `usedBytes · quotaBytes` | integer |  | Was er gegen die Objektspeicherung des Kontos hält. |
| `aliasList · forwardTo` | string[] |  | Adressen, die hier landen, und Kopien, die gesendet wurden. |
| `catchAll` | boolean |  | Ob unbekannte Adressen auf dem Hostland hier. |
| `status · lastMessageAt` |  |  | Sein Zustand und als etwas zuletzt kam. |

## Ein Bild folgt einer Kette {#picture}

Das Postfach ist das eigene, dann das Konto, dann nichts. `avatarSource` sagt, was — also kann eine Schnittstelle anbieten «ein eigenes Bild verwenden» sinnvoll.

- [send()](/de/sdk/ref/mailbox/send): Schicken.
- [messages.list()](/de/sdk/ref/mailbox/messages/list): Lesen.
- [update()](/de/sdk/ref/mailbox/update): Bild und Unterschrift.

```python
box = api.mail.get("hello@example.com")

page = box.messages.list(folder="inbox", unread=True)
messages, unread_count = page["messages"], page.get("unreadCount")
box.send(to=["someone@example.net"], subject="Hi", text="…")
```
