> ## 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.3.9.718](/release-notes/database/changes-10.3.9.md)
- [What's new in version 10.5.1.1092](/release-notes/database/changes-10.5.1.md)
- [What's new in version 10.5.2.435](/release-notes/database/changes-10.5.2.md)
- [What's new in version 10.5.3.711](/release-notes/database/changes-10.5.3.md)
- [What's new in version 10.5.4.867](/release-notes/database/changes-10.5.4.md)
