> ## Documentation Index
> Fetch the complete documentation index at: https://superofficeas-bugfix-ty-screen-designer-paradox.mintlify.site/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.
