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

# Inbox

> A class for managing the inbox.

A class for managing the inbox.

## Constructors

### Inbox()

```crmscript theme={null}
Inbox
```

Initializes a new instance of the Inbox class.

## Methods

## addSmtpMail(String,String,Integer)

Inserts an SMTP formatted email into Service's inbox, which then will be imported when ejournalCron runs.

```crmscript theme={null}
Integer addSmtpMail(String smtpMail, String uidl, Integer filterId)
```

**Returns:** [CRMScript.Global.Integer](CRMScript.Global.Integer) - The ID of the inserted email.


## Related topics

- [SuperOffice.WebApi.Data.UserPreferenceStrings.Mail](/en/api/reference/webapi/SuperOffice.WebApi.Data.UserPreferenceStrings.Mail.md)
- [What's new in version 10.2.5.1175](/release-notes/database/changes-10.2.5.md)
- [What's new in version 10.2.6.1248](/release-notes/database/changes-10.2.6.md)
- [What's new in version 10.2.7.5452](/release-notes/database/changes-10.2.7.md)
- [What's new in version 10.2.8.655](/release-notes/database/changes-10.2.8.md)
- [What's new in version 10.2.9.778](/release-notes/database/changes-10.2.9.md)
