> ## 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.

# SuperOffice.WebApi.Data.EMailEnvelope

# <a id="SuperOffice_WebApi_Data_EMailEnvelope" /> Class EMailEnvelope

Namespace: [SuperOffice.WebApi.Data](SuperOffice.WebApi.Data.md)\
Assembly: SuperOffice.WebApi.dll

Carrier object for EMailEnvelope.
Limited information about one e-mail.

```csharp theme={null}
public class EMailEnvelope : Carrier
```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ←
[Carrier](SuperOffice.WebApi.Data.Carrier.md) ←
[EMailEnvelope](SuperOffice.WebApi.Data.EMailEnvelope.md)

#### Inherited Members

[Carrier.TableRight](SuperOffice.WebApi.Data.Carrier.md#SuperOffice_WebApi_Data_Carrier_TableRight),
[Carrier.FieldProperties](SuperOffice.WebApi.Data.Carrier.md#SuperOffice_WebApi_Data_Carrier_FieldProperties),
[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring),
[object.Equals(object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object\)),
[object.Equals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object-system-object\)),
[object.ReferenceEquals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals),
[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode),
[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype),
[object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone)

## Constructors

### <a id="SuperOffice_WebApi_Data_EMailEnvelope__ctor" /> EMailEnvelope()

Default constructor - defaults any enum props to 0.

```csharp theme={null}
public EMailEnvelope()
```

## Properties

### <a id="SuperOffice_WebApi_Data_EMailEnvelope_EMailSOInfo" /> EMailSOInfo

Glue between SuperOffice data and an e-mail.

```csharp theme={null}
public virtual EMailSOInfo EMailSOInfo { get; set; }
```

#### Property Value

[EMailSOInfo](SuperOffice.WebApi.Data.EMailSOInfo.md)

### <a id="SuperOffice_WebApi_Data_EMailEnvelope_Flags" /> Flags

Flag status of this mail (unread, replied, deleted )
NULL if unknown enum value.

```csharp theme={null}
[JsonIgnore]
public EMailFlags? Flags { get; set; }
```

#### Property Value

[EMailFlags](SuperOffice.WebApi.Data.EMailFlags.md)?

#### See Also

[EMailEnvelope](SuperOffice.WebApi.Data.EMailEnvelope.md).[Flags\_String](SuperOffice.WebApi.Data.EMailEnvelope.md#SuperOffice_WebApi_Data_EMailEnvelope_Flags_String)

### <a id="SuperOffice_WebApi_Data_EMailEnvelope_Flags_String" /> Flags\_String

Flag status of this mail (unread, replied, deleted )
Raw string enum value.

```csharp theme={null}
[JsonProperty("Flags")]
public string Flags_String { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

#### See Also

[EMailEnvelope](SuperOffice.WebApi.Data.EMailEnvelope.md).[Flags](SuperOffice.WebApi.Data.EMailEnvelope.md#SuperOffice_WebApi_Data_EMailEnvelope_Flags)

### <a id="SuperOffice_WebApi_Data_EMailEnvelope_From" /> From

Who did the e-mail originate from

```csharp theme={null}
public virtual EMailAddress From { get; set; }
```

#### Property Value

[EMailAddress](SuperOffice.WebApi.Data.EMailAddress.md)

### <a id="SuperOffice_WebApi_Data_EMailEnvelope_MessageId" /> MessageId

Unique id of e-mails

```csharp theme={null}
public virtual string MessageId { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### <a id="SuperOffice_WebApi_Data_EMailEnvelope_Priority" /> Priority

Importance of the e-mail
NULL if unknown enum value.

```csharp theme={null}
[JsonIgnore]
public EMailPriority? Priority { get; set; }
```

#### Property Value

[EMailPriority](SuperOffice.WebApi.Data.EMailPriority.md)?

#### See Also

[EMailEnvelope](SuperOffice.WebApi.Data.EMailEnvelope.md).[Priority\_String](SuperOffice.WebApi.Data.EMailEnvelope.md#SuperOffice_WebApi_Data_EMailEnvelope_Priority_String)

### <a id="SuperOffice_WebApi_Data_EMailEnvelope_Priority_String" /> Priority\_String

Importance of the e-mail
Raw string enum value.

```csharp theme={null}
[JsonProperty("Priority")]
public string Priority_String { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

#### See Also

[EMailEnvelope](SuperOffice.WebApi.Data.EMailEnvelope.md).[Priority](SuperOffice.WebApi.Data.EMailEnvelope.md#SuperOffice_WebApi_Data_EMailEnvelope_Priority)

### <a id="SuperOffice_WebApi_Data_EMailEnvelope_Sent" /> Sent

When was the e-mail sent

```csharp theme={null}
public virtual DateTime Sent { get; set; }
```

#### Property Value

[DateTime](https://learn.microsoft.com/dotnet/api/system.datetime)

### <a id="SuperOffice_WebApi_Data_EMailEnvelope_ServerId" /> ServerId

Unique id for the e-mail on the server

```csharp theme={null}
public virtual int ServerId { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### <a id="SuperOffice_WebApi_Data_EMailEnvelope_ServerIdentifier" /> ServerIdentifier

Unique string id for the e-mail on the server (Graph API

```csharp theme={null}
public virtual string ServerIdentifier { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### <a id="SuperOffice_WebApi_Data_EMailEnvelope_Size" /> Size

Total size of the e-mail

```csharp theme={null}
public virtual int Size { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### <a id="SuperOffice_WebApi_Data_EMailEnvelope_Subject" /> Subject

Subject of the e-mail

```csharp theme={null}
public virtual string Subject { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### <a id="SuperOffice_WebApi_Data_EMailEnvelope_To" /> To

To recipients of e-mail

```csharp theme={null}
public virtual EMailAddress[] To { get; set; }
```

#### Property Value

[EMailAddress](SuperOffice.WebApi.Data.EMailAddress.md)\[]

## See Also

[EMailAgent](SuperOffice.WebApi.Agents.EMailAgent.md)


## Related topics

- [SuperOffice.WebApi.Agents.EMailAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.EMailAgent.md)
- [SuperOffice.WebApi.Agents.IEMailAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.IEMailAgent.md)
- [SuperOffice.WebApi.Data.EMailEntity](/en/api/reference/webapi/SuperOffice.WebApi.Data.EMailEntity.md)
- [WebAPI changes in SuperOffice 12.0](/release-notes/12/api/changes-webapi-12.0.342.0.md)
- [SuperOffice.WebApi.Data.EMail GetEMailEnvelopesRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.EMail_GetEMailEnvelopesRequest.md)
- [SuperOffice.WebApi.Data.EMail GetEMailEnvelopesFromServerIdsRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.EMail_GetEMailEnvelopesFromServerIdsRequest.md)
